From a62d56ab3b4701d890237ff0bfb031e7769526a6 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 13 Jun 2001 19:52:43 +0000 Subject: [PATCH] (diff-font-lock-keywords): Fix unanchored regexp. --- lisp/ChangeLog | 4 ++++ lisp/diff-mode.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.2