Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5da841d2
Commit
5da841d2
authored
Nov 08, 1993
by
Richard M. Stallman
Browse files
(set-frame-configuration): Iconify frames
rather than making them invisible.
parent
82c5b4be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
lisp/frame.el
lisp/frame.el
+6
-2
No files found.
lisp/frame.el
View file @
5da841d2
...
...
@@ -403,7 +403,7 @@ Each frame listed in CONFIGURATION has its position, size, window
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 @@ is given and non-nil, the unwanted frames are made invisible instead."
(
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment