]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Consider jit-lock-antiblink when fontifying "on demand""
authorJoão Távora <joaotavora@gmail.com>
Wed, 31 Jul 2019 14:03:59 +0000 (15:03 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 31 Jul 2019 14:03:59 +0000 (15:03 +0100)
Couldn't reproduce the situation that led to this need.

This reverts commit d0abbf28576be00e33e56a6abf2e9e27ef02cb47.

lisp/jit-lock.el

index d881fb4b19f9c5078fb1ab1d1ba1f09c87ac57c8..7ae79f057b795959d6e4c0b9df1ed45fce543036 100644 (file)
@@ -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))