From 0eac1faa03b72ee73820b713b589f67109712249 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 28 Mar 2002 18:28:24 +0000 Subject: [PATCH] (compilation-handle-exit): If compilation-window-height is 0, display status in echo area. --- lisp/progmodes/compile.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 6987293ea0f..f9296235add 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -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)) -- 2.11.4.GIT