diff options
| author | Miles Bader | 2000-12-08 18:14:23 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-12-08 18:14:23 +0000 |
| commit | df0677c3652fe587290d7c4b80798a9222923cbb (patch) | |
| tree | 3624f51c8c2fb8b69af55bb8c37007042c374c63 | |
| parent | 5cdb3cf38f1c0fbd8468fc54d77159bf0b6fa97d (diff) | |
| download | emacs-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.el | 2 |
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 | ||