mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(bat-generic-mode): Support .cmd files.
This commit is contained in:
parent
0058964eb1
commit
6453a10ed8
2 changed files with 4 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue