changeset 62863:3c095150855a

(font-lock-fontify-syntactically-region): Pass t for GREEDY to looking-back.
author Richard M. Stallman <rms@gnu.org>
date Sun, 29 May 2005 08:39:40 +0000
parents 8641f46cf18f
children a30c3081abf5
files lisp/font-lock.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/font-lock.el	Sun May 29 08:36:26 2005 +0000
+++ b/lisp/font-lock.el	Sun May 29 08:39:40 2005 +0000
@@ -1351,7 +1351,7 @@
 				    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))