diff lisp/diff-mode.el @ 81568:69dec53b2a24

(diff-font-lock-keywords): Fix M. Kifer's last change differently.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 22 Jun 2007 21:18:31 +0000
parents 44761a3f6c97
children 6df2ca7b3d53 988f1edc9674
line wrap: on
line diff
--- a/lisp/diff-mode.el	Fri Jun 22 18:37:46 2007 +0000
+++ b/lisp/diff-mode.el	Fri Jun 22 21:18:31 2007 +0000
@@ -338,7 +338,7 @@
     ("^--- .+ ----$"             . diff-hunk-header-face) ;context
     ("^[0-9,]+[acd][0-9,]+$"     . diff-hunk-header-face) ;normal
     ("^---$"                     . diff-hunk-header-face) ;normal
-    ("^\\(---\\|\\+\\+\\+\\|\\*\\*\\*\\) \\([^ \t]+\\)\\(.*[^*-]\\)?\n"
+    ("^\\(---\\|\\+\\+\\+\\|\\*\\*\\*\\) \\([^\t\n]+\\)\\(.*[^*-]\\)?\n"
      (0 diff-header-face) (2 diff-file-header-face prepend))
     ("^\\([-<]\\)\\(.*\n\\)"
      (1 diff-indicator-removed-face) (2 diff-removed-face))