From 10412e6312cabf9265acbe32fd3743927038015f Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 7 Aug 2006 18:24:25 +0000 Subject: [PATCH] (font-lock-extend-jit-lock-region-after-change): Better comment. --- lisp/font-lock.el | 4 ++++ 1 file changed, 4 insertions(+) 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: ;; 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 -- 2.39.2