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
a78db71c
Commit
a78db71c
authored
Nov 07, 1993
by
Richard M. Stallman
Browse files
(set-frame-configuration): If NODELETE, make the unwanted frames invisible.
parent
794ce2c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
lisp/frame.el
lisp/frame.el
+6
-4
No files found.
lisp/frame.el
View file @
a78db71c
...
...
@@ -401,8 +401,9 @@ where
"Restore the frames to the state described by CONFIGURATION.
Each frame listed in CONFIGURATION has its position, size, window
configuration, and other parameters set as specified in CONFIGURATION.
Unless optional second argument NODELETE is given and non-nil, deletes
all existing frames not listed 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."
(
or
(
frame-configuration-p
configuration
)
(
signal
'wrong-type-argument
(
list
'frame-configuration-p
configuration
)))
...
...
@@ -424,8 +425,9 @@ all existing frames not listed in CONFIGURATION."
(
set-window-configuration
(
nth
2
parameters
)))
(
setq
frames-to-delete
(
cons
frame
frames-to-delete
))))))
(
frame-list
))
(
or
nodelete
(
mapcar
'delete-frame
frames-to-delete
))))
(
if
nodelete
(
mapcar
'make-frame-invisible
frames-to-delete
)
(
mapcar
'delete-frame
frames-to-delete
))))
(
defun
frame-configuration-p
(
object
)
"Return non-nil if OBJECT seems to be a frame configuration.
...
...
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