A window remains visible on its frame unless you delete it by calling certain functions that delete windows. A deleted window cannot appear on the screen, but continues to exist as a Lisp object until there are no references to it. There is no way to cancel the deletion of a window aside from restoring a saved window configuration (see section Window Configurations). Restoring a window configuration also deletes any windows that aren't part of that configuration.
When you delete a window, the space it took up is given to one adjacent sibling. (In Emacs version 18, the space was divided evenly among all the siblings.)
nil
if window is deleted, and
t
otherwise.
Warning: Erroneous information or fatal errors may result from using a deleted window as if it were live.
delete-window
is called.
This function returns nil
.
When delete-window
is called interactively, window
defaults to the selected window.
nil
, then the selected window is used by default.
The result is nil
.
delete-windows-on
operates frame by frame. If a frame has
several windows showing different buffers, then those showing
buffer are removed, and the others expand to fill the space. If
all windows in some frame are showing buffer (including the case
where there is only one window), then the frame reverts to having a
single window showing another buffer chosen with other-buffer
.
See section The Buffer List.
The argument frame controls which frames to operate on:
nil
, operate on the selected frame.
t
, operate on all frames.
visible
, operate on all visible frames.
This function always returns nil
.
Go to the first, previous, next, last section, table of contents.