aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2005-10-17 17:39:57 +0000
committerStefan Monnier2005-10-17 17:39:57 +0000
commit9036e92f79c8d9107f8c811f50cc10b3db1a1967 (patch)
tree7c02d28da912ac51059fe09add19a218e16a3e0b
parentf8252852f3540041639eb412bdb13bbb0c6a8497 (diff)
downloademacs-9036e92f79c8d9107f8c811f50cc10b3db1a1967.tar.gz
emacs-9036e92f79c8d9107f8c811f50cc10b3db1a1967.zip
(jit-lock-fontify-now): Fix copy/paste mess up in last change.
-rw-r--r--lisp/jit-lock.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el
index 0a36b719ba1..b76c675cba4 100644
--- a/lisp/jit-lock.el
+++ b/lisp/jit-lock.el
@@ -351,12 +351,9 @@ Defaults to the whole buffer. END can be out of bounds."
351 351
352 ;; Make sure the contextual refontification doesn't re-refontify 352 ;; Make sure the contextual refontification doesn't re-refontify
353 ;; what's already been refontified. 353 ;; what's already been refontified.
354 (when jit-lock-context-unfontify-pos
355 (if (and (< jit-lock-context-unfontify-pos next)
356 (when (and jit-lock-context-unfontify-pos 354 (when (and jit-lock-context-unfontify-pos
357 (< jit-lock-context-unfontify-pos next) 355 (< jit-lock-context-unfontify-pos next)
358 (>= jit-lock-context-unfontify-pos start)) 356 (>= jit-lock-context-unfontify-pos start))
359 (setq jit-lock-context-unfontify-pos next)))
360 (setq jit-lock-context-unfontify-pos next)) 357 (setq jit-lock-context-unfontify-pos next))
361 358
362 ;; Fontify the chunk, and mark it as fontified. 359 ;; Fontify the chunk, and mark it as fontified.