Commit a1594703 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(font-lock-fontify-syntactically-region):

Pass t for GREEDY to looking-back.
parent cfde584f
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment