.emacs-my
changeset 342 f833d68fa5ae
parent 340 6ae9e98a1d53
parent 341 84db44766351
child 344 b7d0989d9472
--- a/.emacs-my	Sun Mar 14 20:49:34 2010 +0200
+++ b/.emacs-my	Sun Mar 14 21:16:54 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.