diff options
| author | Eli Zaretskii | 2004-05-02 17:23:04 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2004-05-02 17:23:04 +0000 |
| commit | 052ca4d1d2fffca52c6e69c4f8cd480ca547463e (patch) | |
| tree | deadb1606f449c0c35f8d285503313a1721dbc72 /lisp/progmodes | |
| parent | 4f9ae122650926b107b8b6bd4e5b0cf97abeacd9 (diff) | |
| download | emacs-052ca4d1d2fffca52c6e69c4f8cd480ca547463e.tar.gz emacs-052ca4d1d2fffca52c6e69c4f8cd480ca547463e.zip | |
(compilation-start): In the no-async-subprocesses branch, fontify
the buffer explicitly after the process exits.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/compile.el | 4 |
1 files changed, 4 insertions, 0 deletions
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 |