aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-09-16 21:40:54 +0000
committerKarl Heuer1994-09-16 21:40:54 +0000
commit5cb9f2dba5d9f1ac89561bd2ea664b3462fa487f (patch)
tree0a98b2ab24cdfa544764d51d92687690e4912f25
parentc1b97b443cc54c2e5789a4b968484bee160fd7c8 (diff)
downloademacs-5cb9f2dba5d9f1ac89561bd2ea664b3462fa487f.tar.gz
emacs-5cb9f2dba5d9f1ac89561bd2ea664b3462fa487f.zip
(compilation-sentinel): Include exit status in modeline.
-rw-r--r--lisp/progmodes/compile.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index bff419b81b7..7e326e9b62a 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -539,7 +539,8 @@ See `compilation-mode'."
539 (forward-char 1) 539 (forward-char 1)
540 (setq mode-line-process 540 (setq mode-line-process
541 (concat ":" 541 (concat ":"
542 (symbol-name (process-status proc)))) 542 (symbol-name (process-status proc))
543 " [" (process-exit-status proc) "]"))
543 ;; Since the buffer and mode line will show that the 544 ;; Since the buffer and mode line will show that the
544 ;; process is dead, we can delete it now. Otherwise it 545 ;; process is dead, we can delete it now. Otherwise it
545 ;; will stay around until M-x list-processes. 546 ;; will stay around until M-x list-processes.