[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 r117654: Fix bug #18856 with failure to fontify c
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-24 r117654: Fix bug #18856 with failure to fontify compilation buffers. |
Date: |
Sat, 01 Nov 2014 14:17:59 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117654
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/18856
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Sat 2014-11-01 16:16:53 +0200
message:
Fix bug #18856 with failure to fontify compilation buffers.
lisp/progmodes/compile.el (compilation-mode): Turn off deferred
fontifications locally.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/progmodes/compile.el compile.el-20091113204419-o5vbwnq5f7feedwu-126
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-11-01 14:08:00 +0000
+++ b/lisp/ChangeLog 2014-11-01 14:16:53 +0000
@@ -1,3 +1,8 @@
+2014-11-01 Eli Zaretskii <address@hidden>
+
+ * progmodes/compile.el (compilation-mode): Turn off deferred
+ fontifications locally. (Bug#18856)
+
2014-11-01 Wolfgang Jenkner <address@hidden>
* net/tramp-sh.el (tramp-send-command): Fix the case where the
=== modified file 'lisp/progmodes/compile.el'
--- a/lisp/progmodes/compile.el 2014-10-29 15:17:18 +0000
+++ b/lisp/progmodes/compile.el 2014-11-01 14:16:53 +0000
@@ -1959,6 +1959,12 @@
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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 r117654: Fix bug #18856 with failure to fontify compilation buffers.,
Eli Zaretskii <=