]> git.eshelyaron.com Git - emacs.git/commitdiff
(bat-generic-mode): Support .cmd files.
authorEli Zaretskii <eliz@gnu.org>
Fri, 23 Jun 2006 12:41:15 +0000 (12:41 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 23 Jun 2006 12:41:15 +0000 (12:41 +0000)
lisp/ChangeLog
lisp/generic-x.el

index 1d85bd9d87698d7a9b12e52a9a6ccc702bc93271..1508381ce4c7b64e716c3be698dbe14a9ee49a4a 100644 (file)
@@ -1,5 +1,7 @@
 2006-06-23  Eli Zaretskii  <eliz@gnu.org>
 
+       * generic-x.el (bat-generic-mode): Support .cmd files.
+
        * dos-w32.el (top level): Use find-file-not-found-functions
        instead of the obsolete find-file-not-found-hooks.
 
index 55c4e4828037a08e3dea3cc2cd39bf051d499c03..609d076d8a20694dfd4006a28bfec02f08d0741c 100644 (file)
@@ -512,10 +512,11 @@ like an INI file.  You can add this hook to `find-file-hook'."
        (1 font-lock-builtin-face)
        (2 font-lock-variable-name-face t t))))
   '("\\.[bB][aA][tT]\\'"
+    "\\.[cC][mM][dD]\\'"
     "\\`[cC][oO][nN][fF][iI][gG]\\."
     "\\`[aA][uU][tT][oO][eE][xX][eE][cC]\\.")
   '(generic-bat-mode-setup-function)
-  "Generic mode for MS-Windows BAT files.")
+  "Generic mode for MS-Windows batch files.")
 
 (defvar bat-generic-mode-syntax-table nil
   "Syntax table in use in `bat-generic-mode' buffers.")