summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2000-12-08 18:14:23 +0000
committerMiles Bader <miles@gnu.org>2000-12-08 18:14:23 +0000
commitdf0677c3652fe587290d7c4b80798a9222923cbb (patch)
tree3624f51c8c2fb8b69af55bb8c37007042c374c63 /lisp/window.el
parent5cdb3cf38f1c0fbd8468fc54d77159bf0b6fa97d (diff)
downloademacs-df0677c3652fe587290d7c4b80798a9222923cbb.tar.gz
(fit-window-to-buffer): Don't pass last argument to
pos-visible-in-window-p, now that its meaning is inverted.
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/window.el b/lisp/window.el
index 60ebba7f1f0..58f6f545e19 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -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)))))))