# HG changeset patch # User Miles Bader # Date 976299263 0 # Node ID 87e249cf993bb7284268588c0487ae0b4013afbb # Parent b9f1f42531a6b4d8555b98c9ec9a06a6107411e5 (fit-window-to-buffer): Don't pass last argument to pos-visible-in-window-p, now that its meaning is inverted. diff -r b9f1f42531a6 -r 87e249cf993b lisp/window.el --- 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)))))))