Commit 6453a10e authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

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

parent 0058964e
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.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment