]> git.eshelyaron.com Git - emacs.git/commitdiff
(compilation-handle-exit):
authorRichard M. Stallman <rms@gnu.org>
Thu, 28 Mar 2002 18:28:24 +0000 (18:28 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 28 Mar 2002 18:28:24 +0000 (18:28 +0000)
If compilation-window-height is 0, display status in echo area.

lisp/progmodes/compile.el

index 6987293ea0ffd420b703e3894770fab77301013e..f9296235addff219aa872ded70cb58d2ba577bab 100644 (file)
@@ -1148,6 +1148,9 @@ Turning the mode on runs the normal hook `compilation-minor-mode-hook'."
     ;; 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))