From: Martin Rudalics Date: Sat, 20 Jun 2015 08:16:07 +0000 (+0200) Subject: In ‘window-state-put’ undedicate target window. (Bug#20848) X-Git-Tag: emacs-25.0.90~1698 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=133848247344af93a710d050f064019a40fde801;p=emacs.git 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) --- 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 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