aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2000-12-08 18:14:23 +0000
committerMiles Bader2000-12-08 18:14:23 +0000
commitdf0677c3652fe587290d7c4b80798a9222923cbb (patch)
tree3624f51c8c2fb8b69af55bb8c37007042c374c63
parent5cdb3cf38f1c0fbd8468fc54d77159bf0b6fa97d (diff)
downloademacs-df0677c3652fe587290d7c4b80798a9222923cbb.tar.gz
emacs-df0677c3652fe587290d7c4b80798a9222923cbb.zip
(fit-window-to-buffer): Don't pass last argument to
pos-visible-in-window-p, now that its meaning is inverted.
-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."
522 (set-window-vscroll window 0) 522 (set-window-vscroll window 0)
523 (while (and (< desired-height max-height) 523 (while (and (< desired-height max-height)
524 (= desired-height (window-height window)) 524 (= desired-height (window-height window))
525 (not (pos-visible-in-window-p end window t))) 525 (not (pos-visible-in-window-p end window)))
526 (enlarge-window 1) 526 (enlarge-window 1)
527 (setq desired-height (1+ desired-height))))))) 527 (setq desired-height (1+ desired-height)))))))
528 528