summaryrefslogtreecommitdiff
path: root/lisp/frameset.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2014-02-19 12:01:35 +0100
committerJuanma Barranquero <lekktu@gmail.com>2014-02-19 12:01:35 +0100
commitf097a3d25f77b08548c6d491ddf736ae3d6f58bf (patch)
treea70990d031dc22851fb910fc899a60b1bb679251 /lisp/frameset.el
parent8e009b788144d2a3a4a628e32d812718dee98109 (diff)
downloademacs-f097a3d25f77b08548c6d491ddf736ae3d6f58bf.tar.gz
lisp/frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
Diffstat (limited to 'lisp/frameset.el')
-rw-r--r--lisp/frameset.el6
1 files changed, 1 insertions, 5 deletions
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)