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
c520265e
Commit
c520265e
authored
May 25, 1998
by
Richard M. Stallman
Browse files
(Fdelete_windows_on): For FRAME, change t to nil
and nil to t, but don't change other values.
parent
32fbd2a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
src/window.c
src/window.c
+9
-6
No files found.
src/window.c
View file @
c520265e
...
...
@@ -1642,17 +1642,20 @@ DEFUN ("delete-windows-on", Fdelete_windows_on, Sdelete_windows_on,
1
,
2
,
"bDelete windows on (buffer): "
,
"Delete all windows showing BUFFER.
\n
\
Optional second argument FRAME controls which frames are affected.
\n
\
If nil or omitted, delete all windows showing BUFFER in any frame.\n\
If t, delete only windows showing BUFFER in the selected frame.\n\
If `visible', delete all windows showing BUFFER in any visible frame.\n\
If a frame, delete only windows showing BUFFER in that frame.")
If optional argument FRAME is `visible', search all visible frames.
\n
\
If FRAME is 0, search all visible and iconified frames.
\n
\
If FRAME is nil, search all frames.
\n
\
If FRAME is t, search only the selected frame.
\n
\
If FRAME is a frame, search only that frame."
)
(
buffer
,
frame
)
Lisp_Object
buffer
,
frame
;
{
/* FRAME uses t and nil to mean the opposite of what window_loop
expects. */
if (! FRAMEP (frame))
frame = NILP (frame) ? Qt : Qnil;
if
(
NILP
(
frame
))
frame
=
Qt
;
else
if
(
EQ
(
frame
,
Qt
))
frame
=
Qnil
;
if
(
!
NILP
(
buffer
))
{
...
...
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