From: Kim F. Storm Date: Thu, 22 Jun 2006 14:13:49 +0000 (+0000) Subject: (grep-mode-font-lock-keywords): Correct regexps X-Git-Tag: emacs-pretest-22.0.90~1885 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c2c04c28f38a94fbfaec48daa2f1c89ec54db937;p=emacs.git (grep-mode-font-lock-keywords): Correct regexps to recognize mode name containing submodes, such as Grep/lw. --- diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index d207094cafe..eb803422027 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -282,13 +282,13 @@ Notice that using \\[next-error] or \\[compile-goto-error] modifies (": \\(.+\\): \\(?: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))