emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 1338482: In ‘window-state-put’ undedicate target w


From: Martin Rudalics
Subject: [Emacs-diffs] master 1338482: In ‘window-state-put’ undedicate target window. (Bug#20848)
Date: Sat, 20 Jun 2015 08:16:55 +0000

branch: master
commit 133848247344af93a710d050f064019a40fde801
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>

    In ‘window-state-put’ undedicate target window.  (Bug#20848)
    
    * lisp/window.el (window-state-put): Undedicate target window
    before putting STATE into it.  (Bug#20848)
---
 lisp/window.el |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lisp/window.el b/lisp/window.el
index fad9b2f..6e45711 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -5375,6 +5375,8 @@ windows can get as small as `window-safe-min-height' and
                        root))))
       (delete-other-windows-internal window root)))
 
+  (set-window-dedicated-p window nil)
+
   (let* ((frame (window-frame window))
         (head (car state))
         ;; We check here (1) whether the total sizes of root window of



reply via email to

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