aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-08-07 18:24:25 +0000
committerStefan Monnier2006-08-07 18:24:25 +0000
commit10412e6312cabf9265acbe32fd3743927038015f (patch)
treebf8d28a1f08f0647f381bfc37684ba12f80befee
parent4a63ceb8901f019161baa9f481b1b12f4134fea4 (diff)
downloademacs-10412e6312cabf9265acbe32fd3743927038015f.tar.gz
emacs-10412e6312cabf9265acbe32fd3743927038015f.zip
(font-lock-extend-jit-lock-region-after-change): Better comment.
-rw-r--r--lisp/font-lock.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index ab80316ae6a..b662a6735b0 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -1196,6 +1196,10 @@ This function does 2 things:
1196 ;; it anyway. Here OTOH we have no guarantee that 1196 ;; it anyway. Here OTOH we have no guarantee that
1197 ;; font-lock-default-fontify-region will be executed on this region 1197 ;; font-lock-default-fontify-region will be executed on this region
1198 ;; any time soon. 1198 ;; any time soon.
1199 ;; Note: contrary to font-lock-default-fontify-region, we do not do
1200 ;; any loop here because we are not looking for a safe spot: we just
1201 ;; mark the text whose appearance may need to change as a result of
1202 ;; the buffer modification.
1199 (when (and (> beg (point-min)) 1203 (when (and (> beg (point-min))
1200 (get-text-property (1- beg) 'font-lock-multiline)) 1204 (get-text-property (1- beg) 'font-lock-multiline))
1201 (setq beg (or (previous-single-property-change 1205 (setq beg (or (previous-single-property-change