changeset 111210:4c19a062df30

* lisp/progmodes/compile.el (compilation-mode-font-lock-keywords): Don't confuse -omega as "-o mega".
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 27 Oct 2010 21:10:22 -0400
parents c1bfed865afd
children 450eb2e9d20d
files lisp/ChangeLog lisp/progmodes/compile.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Oct 27 22:08:36 2010 +0000
+++ b/lisp/ChangeLog	Wed Oct 27 21:10:22 2010 -0400
@@ -1,3 +1,8 @@
+2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>
+
+	* progmodes/compile.el (compilation-mode-font-lock-keywords):
+	Don't confuse -omega as "-o mega".
+
 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* vc/log-edit.el (log-edit-rewrite-fixes): New var.
--- a/lisp/progmodes/compile.el	Wed Oct 27 22:08:36 2010 +0000
+++ b/lisp/progmodes/compile.el	Wed Oct 27 21:10:22 2010 -0400
@@ -543,7 +543,7 @@
      ;; Command output lines.  Recognize `make[n]:' lines too.
      ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:"
       (1 font-lock-function-name-face) (3 compilation-line-face nil t))
-     (" --?o\\(?:utfile\\|utput\\)?[= ]?\\(\\S +\\)" . 1)
+     (" -\\(?:o[= ]?\\|-\\(?:outfile\\|output\\)[= ]\\)\\(\\S +\\)" . 1)
      ("^Compilation \\(finished\\).*"
       (0 '(face nil message nil help-echo nil mouse-face nil) t)
       (1 compilation-info-face))