changeset 66156:b6a209407cf3

(jit-lock-fontify-now): Fix copy/paste mess up in last change.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 17 Oct 2005 17:39:57 +0000
parents 289807600b5d
children 9b54a8bf0ecf
files lisp/jit-lock.el
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/jit-lock.el	Mon Oct 17 16:23:43 2005 +0000
+++ b/lisp/jit-lock.el	Mon Oct 17 17:39:57 2005 +0000
@@ -351,12 +351,9 @@
 
            ;; Make sure the contextual refontification doesn't re-refontify
            ;; what's already been refontified.
-           (when jit-lock-context-unfontify-pos
-             (if (and (< jit-lock-context-unfontify-pos next)
            (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)))
              (setq jit-lock-context-unfontify-pos next))
 
 	   ;; Fontify the chunk, and mark it as fontified.