Mercurial > emacs
changeset 109283:1fea8c5cd259
Font lock fix for batch mode (Bug#5719).
* generic-x.el (bat-generic-mode): Fix regexp for command line
switches (Bug#5719).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 27 Jun 2010 14:43:34 -0400 |
parents | 3c15269db196 |
children | 46d052bb8f04 |
files | lisp/ChangeLog lisp/generic-x.el |
diffstat | 2 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sun Jun 27 14:24:42 2010 -0400 +++ b/lisp/ChangeLog Sun Jun 27 14:43:34 2010 -0400 @@ -1,7 +1,12 @@ +2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change) + + * generic-x.el (bat-generic-mode): Fix regexp for command line + switches (Bug#5719). + 2010-06-27 Masatake YAMATO <yamato@redhat.com> - * 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 <cschol2112@googlemail.com> (tiny change)
--- a/lisp/generic-x.el Sun Jun 27 14:24:42 2010 -0400 +++ b/lisp/generic-x.el Sun Jun 27 14:43:34 2010 -0400 @@ -508,8 +508,7 @@ '("^[ \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))