.emacs-* like file contain -*- -*- in there header so dont update auto-mode-alist.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 28 Jan 2010 21:33:32 +0200
changeset 277 c37e79da4b53
parent 276 35d90ffc94e7
child 278 35338cab99a9
.emacs-* like file contain -*- -*- in there header so dont update auto-mode-alist.
.emacs
--- a/.emacs	Thu Jan 28 21:31:18 2010 +0200
+++ b/.emacs	Thu Jan 28 21:33:32 2010 +0200
@@ -24,8 +24,6 @@
 (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))