Mercurial > emacs
changeset 4930:04dee67f86cf
(set-frame-configuration): Iconify frames
rather than making them invisible.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 08 Nov 1993 13:14:05 +0000 |
parents | 2b5e416494d1 |
children | ad035a2d8e26 |
files | lisp/frame.el |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/frame.el Mon Nov 08 12:47:05 1993 +0000 +++ b/lisp/frame.el Mon Nov 08 13:14:05 1993 +0000 @@ -403,7 +403,7 @@ configuration, and other parameters set as specified in CONFIGURATION. Ordinarily, this function deletes all existing frames not listed in CONFIGURATION. But if optional second argument NODELETE -is given and non-nil, the unwanted frames are made invisible instead." +is given and non-nil, the unwanted frames are iconified instead." (or (frame-configuration-p configuration) (signal 'wrong-type-argument (list 'frame-configuration-p configuration))) @@ -426,7 +426,11 @@ (setq frames-to-delete (cons frame frames-to-delete)))))) (frame-list)) (if nodelete - (mapcar 'make-frame-invisible frames-to-delete) + ;; Note: making frames invisible here was tried + ;; but led to some strange behavior--each time the frame + ;; was made visible again, the window manager asked afresh + ;; for where to put it. + (mapcar 'iconify-frame frames-to-delete) (mapcar 'delete-frame frames-to-delete)))) (defun frame-configuration-p (object)