summaryrefslogtreecommitdiff
path: root/lisp/generic-x.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2006-06-23 12:41:15 +0000
committerEli Zaretskii <eliz@gnu.org>2006-06-23 12:41:15 +0000
commit6453a10ed837bfbb36508dfeb18e8d8473236797 (patch)
treeefb150a4e2170a54e8a540b0709d4b9542d4b442 /lisp/generic-x.el
parent0058964eb1d1fe9fdae48c5f446e86a4c4d1285c (diff)
downloademacs-6453a10ed837bfbb36508dfeb18e8d8473236797.tar.gz
(bat-generic-mode): Support .cmd files.
Diffstat (limited to 'lisp/generic-x.el')
-rw-r--r--lisp/generic-x.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/generic-x.el b/lisp/generic-x.el
index 55c4e482803..609d076d8a2 100644
--- a/lisp/generic-x.el
+++ b/lisp/generic-x.el
@@ -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.")