From 4458f412b081527f46c142fe67f443ce81e86647 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 23 Oct 2002 17:24:33 +0000 Subject: [PATCH] (display-message-or-buffer): Don't try to display an empty output in the echo area. --- lisp/simple.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index 182402fecc5..c14646f119f 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1335,7 +1335,8 @@ and only used if a buffer is displayed." (if (= (buffer-size) 0) 0 (count-lines (point-min) (point-max))))) - (cond ((or (<= lines 1) + (cond ((= lines 0)) + ((or (<= lines 1) (<= lines (if resize-mini-windows (cond ((floatp max-mini-window-height) -- 2.39.2