.emacs-my
changeset 341 84db44766351
parent 339 4e131c57a0ef
child 342 f833d68fa5ae
--- a/.emacs-my	Sun Mar 14 20:47:14 2010 +0200
+++ b/.emacs-my	Sun Mar 14 21:16:45 2010 +0200
@@ -126,6 +126,8 @@
 
 (setq read-quoted-char-radix 16)
 
+(require 'generic-x)
+
 ;; ----------------------------------------------------------------------
 ;; switching, creating, selecting buffers.
 
@@ -936,12 +938,7 @@
 (setq c-default-style '((java-mode . "my") (c-mode . "my") (csharp-mode . "my") (c++-mode . "my") (objc-mode . "my") (other . "my")))
 
 ;; ----------------------------------------------------------------------
-;; bat file, batch.
-
-(when (fboundp 'bat-file-mode)
-  (add-to-list 'auto-mode-alist '("\\.[bB][aA][tT]\\'" . bat-file-mode))
-  (add-to-list 'auto-mode-alist '("\\.[cC][mM][dD]\\'" . bat-file-mode))
-  )
+;; bat file, batch, loaded from 'generic-x.el'.
 
 ;; ----------------------------------------------------------------------
 ;; nsis-mode.