diff lisp/progmodes/compile.el @ 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 77c2be84591c
children b47e85affa59
line wrap: on
line diff
--- 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))