diff options
author | Martin Rudalics <rudalics@gmx.at> | 2019-10-14 10:53:07 +0200 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2019-10-14 10:53:07 +0200 |
commit | 1fbce07e66c44c292d7b3ae04d67a7e7f6ed151a (patch) | |
tree | bd6e7c43c91354e675fcffe31a8ba615d1350eb6 /lisp/window.el | |
parent | 01ea96b5548a80e6aabc69428439113ce0a8c17e (diff) | |
download | emacs-1fbce07e66c44c292d7b3ae04d67a7e7f6ed151a.tar.gz |
Fix bug recently introduced in 'fit-window-to-buffer' (Bug#37743)
* lisp/window.el (fit-window-to-buffer): Call 'window-combined-p'
with right argument (Bug#37743).
Diffstat (limited to 'lisp/window.el')
-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 80d9d2e072b..af35f9abe6b 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -8923,7 +8923,7 @@ accessible position." ;; vertically. ((and (not (eq fit-window-to-buffer-horizontally 'only)) (not (window-size-fixed-p window 'preserved)) - (window-combined-p)) + (window-combined-p window)) (let* ((line-height (window-default-line-height window)) (total-height (window-size window nil pixelwise)) (min-height |