the buffer explicitly after the process exits.
* progmodes/compile.el (compilation-start): In the
no-async-subprocesses branch, call sit-for to give redisplay a
- chance to show the updated process status in the mode line.
+ chance to show the updated process status in the mode line, and
+ fontify the buffer explicitly after the process exits.
2004-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
(concat status "\n")))
(t
(compilation-handle-exit 'bizarre status status))))
+ ;; Without async subprocesses, the buffer is not yet
+ ;; fontified, so fontify it now.
+ (let ((font-lock-verbose nil)) ; shut up font-lock messages
+ (font-lock-fontify-buffer))
(message "Executing `%s'...done" command)))
(if (buffer-local-value 'compilation-scroll-output outbuf)
(save-selected-window