aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2004-05-02 17:23:04 +0000
committerEli Zaretskii2004-05-02 17:23:04 +0000
commit052ca4d1d2fffca52c6e69c4f8cd480ca547463e (patch)
treedeadb1606f449c0c35f8d285503313a1721dbc72
parent4f9ae122650926b107b8b6bd4e5b0cf97abeacd9 (diff)
downloademacs-052ca4d1d2fffca52c6e69c4f8cd480ca547463e.tar.gz
emacs-052ca4d1d2fffca52c6e69c4f8cd480ca547463e.zip
(compilation-start): In the no-async-subprocesses branch, fontify
the buffer explicitly after the process exits.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/progmodes/compile.el4
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 06206a94a4f..2d53836e40b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,7 +2,8 @@
2 2
3 * progmodes/compile.el (compilation-start): In the 3 * progmodes/compile.el (compilation-start): In the
4 no-async-subprocesses branch, call sit-for to give redisplay a 4 no-async-subprocesses branch, call sit-for to give redisplay a
5 chance to show the updated process status in the mode line. 5 chance to show the updated process status in the mode line, and
6 fontify the buffer explicitly after the process exits.
6 7
72004-05-01 Stefan Monnier <monnier@iro.umontreal.ca> 82004-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8 9
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 376136e33ae..da05a7ff8bb 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -959,6 +959,10 @@ exited abnormally with code %d\n"
959 (concat status "\n"))) 959 (concat status "\n")))
960 (t 960 (t
961 (compilation-handle-exit 'bizarre status status)))) 961 (compilation-handle-exit 'bizarre status status))))
962 ;; Without async subprocesses, the buffer is not yet
963 ;; fontified, so fontify it now.
964 (let ((font-lock-verbose nil)) ; shut up font-lock messages
965 (font-lock-fontify-buffer))
962 (message "Executing `%s'...done" command))) 966 (message "Executing `%s'...done" command)))
963 (if (buffer-local-value 'compilation-scroll-output outbuf) 967 (if (buffer-local-value 'compilation-scroll-output outbuf)
964 (save-selected-window 968 (save-selected-window