diff options
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r-- | lisp/progmodes/compile.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index d3d03cd2030..5de2c6afa53 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -1984,6 +1984,12 @@ Runs `compilation-mode-hook' with `run-mode-hooks' (which see). compilation-page-delimiter) ;; (set (make-local-variable 'compilation-buffer-modtime) nil) (compilation-setup) + ;; Turn off deferred fontifications in the compilation buffer, if + ;; the user turned them on globally. This is because idle timers + ;; aren't re-run after receiving input from a subprocess, so the + ;; buffer is left unfontified after the compilation exits, until + ;; some other input event happens. + (set (make-local-variable 'jit-lock-defer-time) nil) (setq buffer-read-only t) (run-mode-hooks 'compilation-mode-hook)) |