Mercurial > emacs
changeset 72311:4501a3a3a336
(font-lock-extend-jit-lock-region-after-change): Better comment.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 07 Aug 2006 18:24:25 +0000 |
parents | e45c648eb3ad |
children | fd4771b15a42 |
files | lisp/font-lock.el |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/font-lock.el Mon Aug 07 18:06:28 2006 +0000 +++ b/lisp/font-lock.el Mon Aug 07 18:24:25 2006 +0000 @@ -1196,6 +1196,10 @@ ;; it anyway. Here OTOH we have no guarantee that ;; font-lock-default-fontify-region will be executed on this region ;; any time soon. + ;; Note: contrary to font-lock-default-fontify-region, we do not do + ;; any loop here because we are not looking for a safe spot: we just + ;; mark the text whose appearance may need to change as a result of + ;; the buffer modification. (when (and (> beg (point-min)) (get-text-property (1- beg) 'font-lock-multiline)) (setq beg (or (previous-single-property-change