Commit 1fbce07e authored by Martin Rudalics's avatar Martin Rudalics

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).
parent 01ea96b5
Pipeline #3632 failed with stage
in 55 minutes and 34 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment