summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
authorRomain Francoise <romain@orebokech.com>2006-07-09 15:17:05 +0000
committerRomain Francoise <romain@orebokech.com>2006-07-09 15:17:05 +0000
commit47f97084161acb8906cb69bc628be3fdc0454cc5 (patch)
tree4d4a91b6ae77cd56b103e56cce302e677ebf8e0e /lisp/progmodes/compile.el
parent65ef2c82b1c2cc830785c5ef8611b2efa89fa167 (diff)
downloademacs-47f97084161acb8906cb69bc628be3fdc0454cc5.tar.gz
emacs-47f97084161acb8906cb69bc628be3fdc0454cc5.tar.bz2
emacs-47f97084161acb8906cb69bc628be3fdc0454cc5.zip
(compilation-mode-font-lock-keywords): Don't highlight start/end markers
as compilation messages.
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 3c9d0741783..5f10bec032a 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -400,7 +400,10 @@ you may also want to change `compilation-page-delimiter'.")
"Value of `page-delimiter' in Compilation mode.")
(defvar compilation-mode-font-lock-keywords
- '(;; configure output lines.
+ '(;; Don't highlight this as a compilation message.
+ ("^Compilation started at.*"
+ (0 '(face nil message nil help-echo nil mouse-face nil) t))
+ ;; configure output lines.
("^[Cc]hecking \\(?:[Ff]or \\|[Ii]f \\|[Ww]hether \\(?:to \\)?\\)?\\(.+\\)\\.\\.\\. *\\(?:(cached) *\\)?\\(\\(yes\\(?: .+\\)?\\)\\|no\\|\\(.*\\)\\)$"
(1 font-lock-variable-name-face)
(2 (compilation-face '(4 . 3))))
@@ -408,9 +411,11 @@ you may also want to change `compilation-page-delimiter'.")
("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:"
(1 font-lock-function-name-face) (3 compilation-line-face nil t))
(" --?o\\(?:utfile\\|utput\\)?[= ]?\\(\\S +\\)" . 1)
- ("^Compilation \\(finished\\)"
+ ("^Compilation \\(finished\\).*"
+ (0 '(face nil message nil help-echo nil mouse-face nil) t)
(1 compilation-info-face))
- ("^Compilation \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?"
+ ("^Compilation \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?.*"
+ (0 '(face nil message nil help-echo nil mouse-face nil) t)
(1 compilation-error-face)
(2 compilation-error-face nil t)))
"Additional things to highlight in Compilation mode.