diff lisp/progmodes/compile.el @ 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 d7e7a906dbe4
children 2b898d069325
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))