From: Chong Yidong Date: Sun, 27 Jun 2010 18:43:34 +0000 (-0400) Subject: Font lock fix for batch mode (Bug#5719). X-Git-Tag: emacs-pretest-23.2.90~139^2~79 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dfc6544ca01f14504a1b2eb8df57691eee5f33b1;p=emacs.git Font lock fix for batch mode (Bug#5719). * generic-x.el (bat-generic-mode): Fix regexp for command line switches (Bug#5719). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 83388723a23..5bda792cfc0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,7 +1,12 @@ +2010-06-27 Oleksandr Gavenko (tiny change) + + * generic-x.el (bat-generic-mode): Fix regexp for command line + switches (Bug#5719). + 2010-06-27 Masatake YAMATO - * htmlfontify.el (hfy-face-attr-for-class): Use `append' instead - of `nconc' (Bug#6239). + * htmlfontify.el (hfy-face-attr-for-class): Use append instead + of nconc to avoid pure storage error (Bug#6239). 2010-06-27 Christoph (tiny change) 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))