diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-01-19 13:29:05 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-01-19 13:29:05 +0000 |
commit | 99327974549c8f62a9414de48654f420d279dc6f (patch) | |
tree | b9a648d611590c420c5bd17fe1537491ab01c64a /lisp/jit-lock.el | |
parent | 8501998aff5144eea92af1bfbe9a9b9cb27d6ed2 (diff) | |
download | emacs-99327974549c8f62a9414de48654f420d279dc6f.tar.gz |
(jit-lock-after-change): If font-lock-multiline
is nil, don't check the `font-lock-multiline' text property.
Diffstat (limited to 'lisp/jit-lock.el')
-rw-r--r-- | lisp/jit-lock.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el index 9cd9d2929ec..5fa93f0b94a 100644 --- a/lisp/jit-lock.el +++ b/lisp/jit-lock.el @@ -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)))) |