aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2015-06-20 10:16:07 +0200
committerMartin Rudalics2015-06-20 10:16:07 +0200
commit133848247344af93a710d050f064019a40fde801 (patch)
tree8ae8b0fb2406ba38dc36078a2dcb3287933934b9
parentf95211e9a40b1c7d1beff0e15aa67450f80bd8bb (diff)
downloademacs-133848247344af93a710d050f064019a40fde801.tar.gz
emacs-133848247344af93a710d050f064019a40fde801.zip
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)
-rw-r--r--lisp/window.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/window.el b/lisp/window.el
index fad9b2f69fa..6e4571167ea 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -5375,6 +5375,8 @@ windows can get as small as `window-safe-min-height' and
5375 root)))) 5375 root))))
5376 (delete-other-windows-internal window root))) 5376 (delete-other-windows-internal window root)))
5377 5377
5378 (set-window-dedicated-p window nil)
5379
5378 (let* ((frame (window-frame window)) 5380 (let* ((frame (window-frame window))
5379 (head (car state)) 5381 (head (car state))
5380 ;; We check here (1) whether the total sizes of root window of 5382 ;; We check here (1) whether the total sizes of root window of