emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 184ed36: Strengthen conditions for resizing sibling


From: Martin Rudalics
Subject: [Emacs-diffs] master 184ed36: Strengthen conditions for resizing sibling windows (Bug#25169)
Date: Mon, 12 Dec 2016 09:16:58 +0000 (UTC)

branch: master
commit 184ed36136d7d78a914979009db208518312137c
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>

    Strengthen conditions for resizing sibling windows (Bug#25169)
    
    * lisp/window.el (window-resize, delete-window): Resize other siblings
    only if `window-combination-resize' equals t (Bug#25169).
---
 lisp/window.el |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/window.el b/lisp/window.el
index 5255905..fdb67ed 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -2797,7 +2797,7 @@ instead."
                window delta horizontal ignore nil nil nil t)))
       (window--resize-reset frame horizontal)
       (window--resize-this-window window delta horizontal ignore t)
-      (if (and (not window-combination-resize)
+      (if (and (not (eq window-combination-resize t))
               (window-combined-p window horizontal)
               (setq sibling (or (window-right window) (window-left window)))
               (window-sizable-p
@@ -4049,7 +4049,7 @@ that is its frame's root window."
             (sibling (or (window-left window) (window-right window))))
        (window--resize-reset frame horizontal)
        (cond
-        ((and (not window-combination-resize)
+        ((and (not (eq window-combination-resize t))
               sibling (window-sizable-p sibling size horizontal nil t))
          ;; Resize WINDOW's sibling.
          (window--resize-this-window sibling size horizontal nil t)



reply via email to

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