summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorSimon Marshall <simon@gnu.org>1995-11-09 08:20:16 +0000
committerSimon Marshall <simon@gnu.org>1995-11-09 08:20:16 +0000
commitc81b38d300e90d03acee57daa0b2cbd9ce2944bf (patch)
tree744309eb04612a79dd6b83d851e61ceb9bf11b32 /lisp/progmodes
parent2cc1905e48e720518e7c094107b8875856459467 (diff)
downloademacs-c81b38d300e90d03acee57daa0b2cbd9ce2944bf.tar.gz
compilation-mode-font-lock-keywords tweak
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/compile.el3
1 files changed, 2 insertions, 1 deletions
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.")