From a1594703887d102b8f64f9672500ee3222a3fc0b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 29 May 2005 08:39:40 +0000 Subject: (font-lock-fontify-syntactically-region): Pass t for GREEDY to looking-back. --- lisp/font-lock.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 4ad82a39b7..d2507474f1 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -1351,7 +1351,7 @@ START should be at the beginning of a line." comment-start-skip)) (put-text-property beg (match-end 0) 'face font-lock-comment-delimiter-face))) - (if (looking-back comment-end-regexp (point-at-bol)) + (if (looking-back comment-end-regexp (point-at-bol) t) (put-text-property (match-beginning 0) (point) 'face font-lock-comment-delimiter-face)))) (< (point) end)) -- cgit v1.2.3