mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(compilation-handle-exit): Do right thing
if (car status) doesn't end in a newline.
This commit is contained in:
parent
919c7723de
commit
01c504479b
1 changed files with 3 additions and 2 deletions
|
|
@ -1015,9 +1015,10 @@ Turning the mode on runs the normal hook `compilation-minor-mode-hook'."
|
|||
;; later on.
|
||||
(goto-char omax)
|
||||
(insert ?\n mode-name " " (car status))
|
||||
(forward-char -1)
|
||||
(if (bolp)
|
||||
(forward-char -1))
|
||||
(insert " at " (substring (current-time-string) 0 19))
|
||||
(forward-char 1)
|
||||
(goto-char (point-max))
|
||||
(setq mode-line-process (format ":%s [%s]" process-status (cdr status)))
|
||||
;; Force mode line redisplay soon.
|
||||
(force-mode-line-update)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue