From bd13cae1985d19cf51d9de69e717dc523668f6a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Wed, 31 Jul 2019 15:03:59 +0100 Subject: [PATCH] Revert "Consider jit-lock-antiblink when fontifying "on demand"" Couldn't reproduce the situation that led to this need. This reverts commit d0abbf28576be00e33e56a6abf2e9e27ef02cb47. --- lisp/jit-lock.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el index d881fb4b19f..7ae79f057b7 100644 --- a/lisp/jit-lock.el +++ b/lisp/jit-lock.el @@ -362,11 +362,7 @@ is active." (or (not (eq jit-lock-defer-time 0)) (input-pending-p)))) ;; No deferral. - (if jit-lock--antiblink-grace-timer - ;; If we're in the `jit-lock--antiblink-grace', do it only - ;; until line end - (jit-lock-fontify-now start (line-end-position)) - (jit-lock-fontify-now start (+ start jit-lock-chunk-size))) + (jit-lock-fontify-now start (+ start jit-lock-chunk-size)) ;; Record the buffer for later fontification. (unless (memq (current-buffer) jit-lock-defer-buffers) (push (current-buffer) jit-lock-defer-buffers)) -- 2.39.5