diff options
| author | Juanma Barranquero | 2014-02-19 12:01:35 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2014-02-19 12:01:35 +0100 |
| commit | f097a3d25f77b08548c6d491ddf736ae3d6f58bf (patch) | |
| tree | a70990d031dc22851fb910fc899a60b1bb679251 /lisp | |
| parent | 8e009b788144d2a3a4a628e32d812718dee98109 (diff) | |
| download | emacs-f097a3d25f77b08548c6d491ddf736ae3d6f58bf.tar.gz emacs-f097a3d25f77b08548c6d491ddf736ae3d6f58bf.zip | |
lisp/frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2014-02-19 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793. | ||
| 4 | |||
| 1 | 2014-02-19 Martin Rudalics <rudalics@gmx.at> | 5 | 2014-02-19 Martin Rudalics <rudalics@gmx.at> |
| 2 | 6 | ||
| 3 | * window.el (window-state-put): Allow WINDOW to refer to an | 7 | * 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." | |||
| 932 | (setq frame (frameset--find-frame-if nil display)))) | 932 | (setq frame (frameset--find-frame-if nil display)))) |
| 933 | ;; If found, remove from the list. | 933 | ;; If found, remove from the list. |
| 934 | (when frame | 934 | (when frame |
| 935 | (setq frameset--reuse-list (delq frame frameset--reuse-list)) | 935 | (setq frameset--reuse-list (delq frame frameset--reuse-list))) |
| 936 | ;; Workaround for feature/bug#16793 | ||
| 937 | (let ((root (frame-root-window frame))) | ||
| 938 | (unless (window-live-p root) | ||
| 939 | (delete-other-windows-internal (frame-first-window root) root)))) | ||
| 940 | frame)) | 936 | frame)) |
| 941 | 937 | ||
| 942 | (defun frameset--initial-params (parameters) | 938 | (defun frameset--initial-params (parameters) |