]> git.eshelyaron.com Git - emacs.git/commitdiff
(display-message-or-buffer): Don't try to display
authorRichard M. Stallman <rms@gnu.org>
Wed, 23 Oct 2002 17:24:33 +0000 (17:24 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 23 Oct 2002 17:24:33 +0000 (17:24 +0000)
an empty output in the echo area.

lisp/simple.el

index 182402fecc596a579f230b64870a7d8348cbef9f..c14646f119f11b97f024b95cee881299f3779d67 100644 (file)
@@ -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)