(jit-lock-after-change): If font-lock-multiline

is nil, don't check the `font-lock-multiline' text property.
This commit is contained in:
Gerd Moellmann 2001-01-19 13:29:05 +00:00
parent 8501998aff
commit 9932797454
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-01-19 Gerd Moellmann <gerd@gnu.org>
* jit-lock.el (jit-lock-after-change): If font-lock-multiline
is nil, don't check the `font-lock-multiline' text property.
2001-01-19 Michael Kifer <kifer@cs.sunysb.edu>
* viper.el: Call initial-major-mode on startup.

View file

@ -422,7 +422,8 @@ will take place when text is fontified stealthily."
(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))))