changeset 35416:81a73d432436

(jit-lock-after-change): If font-lock-multiline is nil, don't check the `font-lock-multiline' text property.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 19 Jan 2001 13:28:32 +0000
parents 39c7a72278ab
children 4ac0d6e78ac3
files lisp/jit-lock.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/jit-lock.el	Fri Jan 19 10:13:09 2001 +0000
+++ b/lisp/jit-lock.el	Fri Jan 19 13:28:32 2001 +0000
@@ -422,7 +422,8 @@
       (with-buffer-prepared-for-jit-lock
        ;; If we're in text that matches a multi-line font-lock pattern,
        ;; make sure the whole text will be redisplayed.
-       (when (get-text-property start 'font-lock-multiline)
+       (when (and font-lock-multiline
+		  (get-text-property start 'font-lock-multiline))
 	 (setq start (or (previous-single-property-change
 			  start 'font-lock-multiline)
 			 (point-min))))