diff options
| author | Martin Rudalics | 2019-10-14 10:53:07 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2019-10-14 10:53:07 +0200 |
| commit | 1fbce07e66c44c292d7b3ae04d67a7e7f6ed151a (patch) | |
| tree | bd6e7c43c91354e675fcffe31a8ba615d1350eb6 | |
| parent | 01ea96b5548a80e6aabc69428439113ce0a8c17e (diff) | |
| download | emacs-1fbce07e66c44c292d7b3ae04d67a7e7f6ed151a.tar.gz emacs-1fbce07e66c44c292d7b3ae04d67a7e7f6ed151a.zip | |
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).
| -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." | |||
| 8923 | ;; vertically. | 8923 | ;; vertically. |
| 8924 | ((and (not (eq fit-window-to-buffer-horizontally 'only)) | 8924 | ((and (not (eq fit-window-to-buffer-horizontally 'only)) |
| 8925 | (not (window-size-fixed-p window 'preserved)) | 8925 | (not (window-size-fixed-p window 'preserved)) |
| 8926 | (window-combined-p)) | 8926 | (window-combined-p window)) |
| 8927 | (let* ((line-height (window-default-line-height window)) | 8927 | (let* ((line-height (window-default-line-height window)) |
| 8928 | (total-height (window-size window nil pixelwise)) | 8928 | (total-height (window-size window nil pixelwise)) |
| 8929 | (min-height | 8929 | (min-height |