1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 22:20:52 -08:00

lisp/frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.

This commit is contained in:
Juanma Barranquero 2014-02-19 12:01:35 +01:00
parent 8e009b7881
commit f097a3d25f
2 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,7 @@
2014-02-19 Juanma Barranquero <lekktu@gmail.com>
* frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2014-02-19 Martin Rudalics <rudalics@gmx.at>
* window.el (window-state-put): Allow WINDOW to refer to an

View file

@ -932,11 +932,7 @@ is the parameter alist of the frame being restored. Internal use only."
(setq frame (frameset--find-frame-if nil display))))
;; If found, remove from the list.
(when frame
(setq frameset--reuse-list (delq frame frameset--reuse-list))
;; Workaround for feature/bug#16793
(let ((root (frame-root-window frame)))
(unless (window-live-p root)
(delete-other-windows-internal (frame-first-window root) root))))
(setq frameset--reuse-list (delq frame frameset--reuse-list)))
frame))
(defun frameset--initial-params (parameters)