From f097a3d25f77b08548c6d491ddf736ae3d6f58bf Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 19 Feb 2014 12:01:35 +0100 Subject: [PATCH] lisp/frameset.el (frameset--reuse-frame): Remove workaround for bug#16793. --- lisp/ChangeLog | 4 ++++ lisp/frameset.el | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 27c681bd945..f65b33e679f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-02-19 Juanma Barranquero + + * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793. + 2014-02-19 Martin Rudalics * window.el (window-state-put): Allow WINDOW to refer to an diff --git a/lisp/frameset.el b/lisp/frameset.el index f0b3c79f776..977cc8433d4 100644 --- a/lisp/frameset.el +++ b/lisp/frameset.el @@ -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) -- 2.39.2