.emacs-my
changeset 200 1e2213b996db
parent 198 a447f47541f5
parent 199 22dc8759aafc
child 201 8531f8af6528
child 202 a89804893475
--- a/.emacs-my	Tue Nov 17 18:20:05 2009 +0200
+++ b/.emacs-my	Mon Nov 23 15:24:04 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))
+    ))
 
 ;; ======================================================================
 ;;