From: Stefan Monnier Date: Mon, 17 Oct 2005 17:39:57 +0000 (+0000) Subject: (jit-lock-fontify-now): Fix copy/paste mess up in last change. X-Git-Tag: emacs-pretest-22.0.90~6546 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9036e92f79c8d9107f8c811f50cc10b3db1a1967;p=emacs.git (jit-lock-fontify-now): Fix copy/paste mess up in last change. --- 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." ;; 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.