From c81b38d300e90d03acee57daa0b2cbd9ce2944bf Mon Sep 17 00:00:00 2001 From: Simon Marshall Date: Thu, 9 Nov 1995 08:20:16 +0000 Subject: [PATCH] compilation-mode-font-lock-keywords tweak --- lisp/progmodes/compile.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 508283ca740..92149e4ac8d 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -269,7 +269,8 @@ strings to write into the compilation buffer, and to put in its mode line.") (defvar grep-history nil) (defvar compilation-mode-font-lock-keywords - '(("^\\([^\n:]*:\\([0-9]+:\\)+\\)\\(.*\\)$" 1 font-lock-function-name-face)) + ;; This regexp needs a bit of rewriting. What is the third grouping for? + '(("^\\([^ \n:]*:\\([0-9]+:\\)+\\)\\(.*\\)$" 1 font-lock-function-name-face)) ;;; ("^\\([^\n:]*:\\([0-9]+:\\)+\\)\\(.*\\)$" 0 font-lock-keyword-face keep) "Additional expressions to highlight in Compilation mode.") -- 2.39.2