# HG changeset patch # User Chong Yidong # Date 1277664214 14400 # Node ID 1fea8c5cd259273c34198bdcfb2d71b54eaab35e # Parent 3c15269db19659215873abf5325ba1d307334c11 Font lock fix for batch mode (Bug#5719). * generic-x.el (bat-generic-mode): Fix regexp for command line switches (Bug#5719). diff -r 3c15269db196 -r 1fea8c5cd259 lisp/ChangeLog --- 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 (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 -r 3c15269db196 -r 1fea8c5cd259 lisp/generic-x.el --- 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))