]> code.delx.au - gnu-emacs/commitdiff
(font-lock-fontify-syntactically-region):
authorRichard M. Stallman <rms@gnu.org>
Sun, 29 May 2005 08:39:40 +0000 (08:39 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 29 May 2005 08:39:40 +0000 (08:39 +0000)
Pass t for GREEDY to looking-back.

lisp/font-lock.el

index 4ad82a39b7ea8c4a457e1cd89dd5ad163cd0b3ac..d2507474f12a62190f83e48e1bb39384d0bd4c01 100644 (file)
@@ -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))