[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/jit-lock.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/jit-lock.el |
Date: |
Tue, 25 Oct 2005 11:26:41 -0400 |
Index: emacs/lisp/jit-lock.el
diff -c emacs/lisp/jit-lock.el:1.43 emacs/lisp/jit-lock.el:1.44
*** emacs/lisp/jit-lock.el:1.43 Mon Oct 17 17:39:57 2005
--- emacs/lisp/jit-lock.el Tue Oct 25 15:26:41 2005
***************
*** 353,359 ****
;; what's already been refontified.
(when (and jit-lock-context-unfontify-pos
(< jit-lock-context-unfontify-pos next)
! (>= jit-lock-context-unfontify-pos start))
(setq jit-lock-context-unfontify-pos next))
;; Fontify the chunk, and mark it as fontified.
--- 353,364 ----
;; what's already been refontified.
(when (and jit-lock-context-unfontify-pos
(< jit-lock-context-unfontify-pos next)
! (>= jit-lock-context-unfontify-pos start)
! ;; Don't move boundary forward if we have to
! ;; refontify previous text. Otherwise, we risk moving
! ;; it past the end of the multiline property and thus
! ;; forget about this multiline region altogether.
! (not (get-text-property start
'jit-lock-defer-multiline)))
(setq jit-lock-context-unfontify-pos next))
;; Fontify the chunk, and mark it as fontified.