changeset 44209:9501986a69c8

(compilation-handle-exit): If compilation-window-height is 0, display status in echo area.
author Richard M. Stallman <rms@gnu.org>
date Thu, 28 Mar 2002 18:28:24 +0000
parents 7213f46c80a0
children 82a85240df83
files lisp/progmodes/compile.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Thu Mar 28 18:27:23 2002 +0000
+++ b/lisp/progmodes/compile.el	Thu Mar 28 18:28:24 2002 +0000
@@ -1148,6 +1148,9 @@
     ;; later on.
     (goto-char omax)
     (insert ?\n mode-name " " (car status))
+    (if (and (numberp compilation-window-height)
+             (zerop compilation-window-height))
+        (message "%s" (cdr status)))
     (if (bolp)
 	(forward-char -1))
     (insert " at " (substring (current-time-string) 0 19))