# HG changeset patch # User Gerd Moellmann # Date 979910912 0 # Node ID 81a73d4324364a0033372beaaf416a2d5649a367 # Parent 39c7a72278ab9028f24860cbe614e92a3324bbf2 (jit-lock-after-change): If font-lock-multiline is nil, don't check the `font-lock-multiline' text property. diff -r 39c7a72278ab -r 81a73d432436 lisp/jit-lock.el --- 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))))