Adds to auto-mode-alist .emacs-* files.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 28 Dec 2009 20:01:27 +0200
changeset 235 e8dde6202139
parent 234 b09807e8f792
child 238 9bbf7d3d45b3
Adds to auto-mode-alist .emacs-* files.
.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))