summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2013-06-25 17:44:42 +0200
committerJuanma Barranquero <lekktu@gmail.com>2013-06-25 17:44:42 +0200
commit8bbdea0fb483997a4d40707dc14d77bc915d8c05 (patch)
tree1ad5701e1f904e596c148c04f63416e1563eacdb
parentd3f0f918e9f2f20d27e129107a63e634d4e82814 (diff)
downloademacs-8bbdea0fb483997a4d40707dc14d77bc915d8c05.tar.gz
lisp/window.el (window--state-get-1): Workaround for bug#14527.
http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/window.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c712e023c2a..d5417a8c2c5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-25 Martin Rudalics <rudalics@gmx.at>
+
+ * window.el (window--state-get-1): Workaround for bug#14527.
+ http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
+
2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/eww.el (eww-back-url): Implement the history by stashing all
diff --git a/lisp/window.el b/lisp/window.el
index 5b001988ddf..5ba32bac953 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -4258,7 +4258,8 @@ specific buffers."
(total-width . ,(window-total-size window t))
(normal-height . ,(window-normal-size window))
(normal-width . ,(window-normal-size window t))
- (combination-limit . ,(window-combination-limit window))
+ ,@(unless (window-live-p window)
+ `(combination-limit . ,(window-combination-limit window)))
,@(let ((parameters (window-parameters window))
list)
;; Make copies of those window parameters whose