changeset 34383:87e249cf993b

(fit-window-to-buffer): Don't pass last argument to pos-visible-in-window-p, now that its meaning is inverted.
author Miles Bader <miles@gnu.org>
date Fri, 08 Dec 2000 18:14:23 +0000
parents b9f1f42531a6
children 9669bb49fca2
files lisp/window.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/window.el	Fri Dec 08 18:12:48 2000 +0000
+++ b/lisp/window.el	Fri Dec 08 18:14:23 2000 +0000
@@ -522,7 +522,7 @@
 	(set-window-vscroll window 0)
 	(while (and (< desired-height max-height)
 		    (= desired-height (window-height window))
-		    (not (pos-visible-in-window-p end window t)))
+		    (not (pos-visible-in-window-p end window)))
 	  (enlarge-window 1)
 	  (setq desired-height (1+ desired-height)))))))