diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-06-27 14:43:34 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-06-27 14:43:34 -0400 |
commit | dfc6544ca01f14504a1b2eb8df57691eee5f33b1 (patch) | |
tree | c81d1d0bb02dc6eb2ca1bbd6c0baea6d9b4a4cda /lisp/generic-x.el | |
parent | b7d4de51858a4e320aa3c6957f3a7651251113d5 (diff) | |
download | emacs-dfc6544ca01f14504a1b2eb8df57691eee5f33b1.tar.gz |
Font lock fix for batch mode (Bug#5719).
* generic-x.el (bat-generic-mode): Fix regexp for command line
switches (Bug#5719).
Diffstat (limited to 'lisp/generic-x.el')
-rw-r--r-- | lisp/generic-x.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/generic-x.el b/lisp/generic-x.el index a96ab5cbbe9..0083989c75a 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el @@ -508,8 +508,7 @@ like an INI file. You can add this hook to `find-file-hook'." '("^[ \t]*\\(:\\sw+\\)" 1 font-lock-function-name-face t) '("\\(%\\sw+%\\)" 1 font-lock-variable-name-face t) '("\\(%[0-9]\\)" 1 font-lock-variable-name-face t) - '("\\(/[^/ \"\t\n]+\\)" 1 font-lock-type-face) - '("[\t ]+\\([+-][^\t\n\" ]+\\)" 1 font-lock-type-face) + '("[\t ]+\\([+-/][^\t\n\" ]+\\)" 1 font-lock-type-face) '("[ \t\n|]\\<\\([gG][oO][tT][oO]\\)\\>[ \t]*\\(\\sw+\\)?" (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t)) |