.emacs-my
changeset 199 22dc8759aafc
parent 197 2abcea5b91db
child 200 1e2213b996db
--- a/.emacs-my	Mon Nov 16 17:53:04 2009 +0200
+++ b/.emacs-my	Mon Nov 23 15:24:02 2009 +0200
@@ -605,11 +605,9 @@
 
 (when (provide 'bat-mode)
   (progn
-    (add-to-list 'auto-mode-alist '("\\.[bB][aA][tT]$" . bat-mode))
-    ;; For DOS init files
-    (when (equal window-system 'w32)
-      (add-to-list 'auto-mode-alist '("CONFIG\\." . bat-mode))
-      (add-to-list 'auto-mode-alist '("AUTOEXEC\\." . bat-mode)))))
+    (add-to-list 'auto-mode-alist '("\\.[bB][aA][tT]\\'" . bat-mode))
+    (add-to-list 'auto-mode-alist '("\\.[cC][mM][dD]\\'" . bat-mode))
+    ))
 
 ;; ======================================================================
 ;;