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).
This commit is contained in:
parent
01ea96b554
commit
1fbce07e66
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue