determining whether the message will fit in the echo area/minibuffer window.
+2006-02-04 Kevin Rodgers <ihs_4664@yahoo.com>
+
+ * simple.el (display-message-or-buffer): Count screen lines
+ instead of buffer lines when determining whether the message
+ will fit in the echo area/minibuffer window.
+
2006-02-04 Eli Zaretskii <eliz@gnu.org>
* info.el (Info-index, Info-mode): Improve the description of the
(let ((lines
(if (= (buffer-size) 0)
0
- (count-lines (point-min) (point-max)))))
+ (count-screen-lines nil nil nil (minibuffer-window)))))
(cond ((= lines 0))
((and (or (<= lines 1)
(<= lines