changeset 71434:91d47fb65033

(bat-generic-mode): Support .cmd files.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 23 Jun 2006 12:40:27 +0000
parents 562b7f0c2fe8
children f5b76c613075
files lisp/generic-x.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/generic-x.el	Fri Jun 23 12:19:45 2006 +0000
+++ b/lisp/generic-x.el	Fri Jun 23 12:40:27 2006 +0000
@@ -512,10 +512,11 @@
        (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.")