From: Richard M. Stallman Date: Wed, 23 Oct 2002 17:24:33 +0000 (+0000) Subject: (display-message-or-buffer): Don't try to display X-Git-Tag: emacs-pretest-21.2.92~10 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4458f412b081527f46c142fe67f443ce81e86647;p=emacs.git (display-message-or-buffer): Don't try to display an empty output in the echo area. --- 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)