Commit 85f20e48 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #18856 with failure to fontify compilation buffers.

 lisp/progmodes/compile.el (compilation-mode): Turn off deferred
 fontifications locally.
parent b14b7f43
2014-11-01 Eli Zaretskii <eliz@gnu.org>
* progmodes/compile.el (compilation-mode): Turn off deferred
fontifications locally. (Bug#18856)
2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
* net/tramp-sh.el (tramp-send-command): Fix the case where the
......
......@@ -1959,6 +1959,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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment