# HG changeset patch # User Stefan Monnier # Date 1154975065 0 # Node ID 4501a3a3a33626c1bdea50af580c04ec1450239d # Parent e45c648eb3ad10641b7f8aba37b32f6fcfdc9519 (font-lock-extend-jit-lock-region-after-change): Better comment. diff -r e45c648eb3ad -r 4501a3a3a336 lisp/font-lock.el --- 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