From: Stefan Monnier Date: Wed, 13 Jun 2001 19:52:43 +0000 (+0000) Subject: (diff-font-lock-keywords): Fix unanchored regexp. X-Git-Tag: emacs-pretest-21.0.104~281 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a62d56ab3b4701d890237ff0bfb031e7769526a6;p=emacs.git (diff-font-lock-keywords): Fix unanchored regexp. --- 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 + + * diff-mode.el (diff-font-lock-keywords): Fix unanchored regexp. + 2001-06-10 Stefan Monnier * 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