diff options
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/diff-mode.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1fc30e7bf36..9d3313b1f59 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2001-06-13 Stefan Monnier <monnier@cs.yale.edu> + + * diff-mode.el (diff-font-lock-keywords): Fix unanchored regexp. + 2001-06-10 Stefan Monnier <monnier@cs.yale.edu> * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index f2498532ba6..b01ea535ac0 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el @@ -260,7 +260,7 @@ when editing big diffs)." (1 diff-hunk-header-face) (2 diff-function-face)) ("^--- .+ ----$" . diff-hunk-header-face) ;context - ("\\(\\*\\{15\\}\\)\\(.*\\)$" ;context + ("^\\(\\*\\{15\\}\\)\\(.*\\)$" ;context (1 diff-hunk-header-face) (2 diff-function-face)) ("^\\*\\*\\* .+ \\*\\*\\*\\*". diff-hunk-header-face) ;context |