emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 1fbce07: Fix bug recently introduced in 'fit-window


From: Martin Rudalics
Subject: [Emacs-diffs] master 1fbce07: Fix bug recently introduced in 'fit-window-to-buffer' (Bug#37743)
Date: Mon, 14 Oct 2019 04:53:41 -0400 (EDT)

branch: master
commit 1fbce07e66c44c292d7b3ae04d67a7e7f6ed151a
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>

    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).
---
 lisp/window.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/window.el b/lisp/window.el
index 80d9d2e..af35f9a 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]