]> git.eshelyaron.com Git - emacs.git/commitdiff
(fit-window-to-buffer): Don't pass last argument to
authorMiles Bader <miles@gnu.org>
Fri, 8 Dec 2000 18:14:23 +0000 (18:14 +0000)
committerMiles Bader <miles@gnu.org>
Fri, 8 Dec 2000 18:14:23 +0000 (18:14 +0000)
pos-visible-in-window-p, now that its meaning is inverted.

lisp/window.el

index 60ebba7f1f052e898031582ec23e2e472742fca8..58f6f545e1939cd4d79ca4ba2ed02a9fc3b6fb9a 100644 (file)
@@ -522,7 +522,7 @@ header-line."
        (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)))))))