Correct bat-mode auto-mode-alist.
--- a/.emacs-my Sun Jan 18 22:12:56 2009 +0200
+++ b/.emacs-my Sun Jan 18 22:15:19 2009 +0200
@@ -579,8 +579,9 @@
(progn
(add-to-list 'auto-mode-alist '("\\.[bB][aA][tT]$" . bat-mode))
;; For DOS init files
- (add-to-list 'auto-mode-alist '("CONFIG\\." . bat-mode))
- (add-to-list 'auto-mode-alist '("AUTOEXEC\\." . bat-mode)))
+ (when (equal window-system 'w32)
+ (add-to-list 'auto-mode-alist '("CONFIG\\." . bat-mode))
+ (add-to-list 'auto-mode-alist '("AUTOEXEC\\." . bat-mode))))
;; ======================================================================
;;