# HG changeset patch # User Kim F. Storm # Date 1150985629 0 # Node ID 2611669abf9efee460c189ef419ce8f376f0811a # Parent 1b59da485fdb72d07cdf2753105ca5a51711bf40 (grep-mode-font-lock-keywords): Correct regexps to recognize mode name containing submodes, such as Grep/lw. diff -r 1b59da485fdb -r 2611669abf9e lisp/progmodes/grep.el --- a/lisp/progmodes/grep.el Thu Jun 22 14:13:30 2006 +0000 +++ b/lisp/progmodes/grep.el Thu Jun 22 14:13:49 2006 +0000 @@ -282,13 +282,13 @@ (": \\(.+\\): \\(?:Permission denied\\|No such \\(?:file or directory\\|device or address\\)\\)$" 1 grep-error-face) ;; remove match from grep-regexp-alist before fontifying - ("^Grep started.*" + ("^Grep[/a-zA-z]* started.*" (0 '(face nil message nil help-echo nil mouse-face nil) t)) - ("^Grep finished \\(?:(\\(matches found\\))\\|with \\(no matches found\\)\\).*" + ("^Grep[/a-zA-z]* finished \\(?:(\\(matches found\\))\\|with \\(no matches found\\)\\).*" (0 '(face nil message nil help-echo nil mouse-face nil) t) (1 compilation-info-face nil t) (2 compilation-warning-face nil t)) - ("^Grep \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?.*" + ("^Grep[/a-zA-z]* \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?.*" (0 '(face nil message nil help-echo nil mouse-face nil) t) (1 grep-error-face) (2 grep-error-face nil t))