# HG changeset patch # User Oleksandr Gavenko # Date 1262023287 -7200 # Node ID e8dde6202139b3a22acb82b55382251bd1252398 # Parent b09807e8f792273027d9fa3f201eaf86005ef923 Adds to auto-mode-alist .emacs-* files. diff -r b09807e8f792 -r e8dde6202139 .emacs --- a/.emacs Mon Dec 28 19:55:47 2009 +0200 +++ b/.emacs Mon Dec 28 20:01:27 2009 +0200 @@ -18,6 +18,8 @@ (defvar dot-emacs-post (expand-file-name "~/.emacs-post") "Path to file with post-loaded custom settings.") +(add-to-list 'auto-mode-alist '("\\.emacs-.*" . emacs-lisp-mode) t) + ;; pre-load custom settings (if (file-exists-p dot-emacs-pre) (load dot-emacs-pre))