1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(bat-generic-mode): Support .cmd files.

This commit is contained in:
Eli Zaretskii 2006-06-23 12:41:15 +00:00
parent 0058964eb1
commit 6453a10ed8
2 changed files with 4 additions and 1 deletions

View 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.

View 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.")