@cindex window frame
When Emacs communicates directly with a supported window system, such
-as X Windows, it does not have a terminal frame; instead, it starts with
+as X, it does not have a terminal frame; instead, it starts with
a single @dfn{window frame}, but you can create more, and Emacs can
display several such frames at once as is usual for window systems.
way windows behave.
@deffn Command delete-frame &optional frame force
-This function deletes the frame @var{frame}. By default, @var{frame} is
-the selected frame.
+@vindex delete-frame-hook
+This function deletes the frame @var{frame} after running the hook
+@code{delete-frame-hook}. By default, @var{frame} is the selected
+frame.
A frame cannot be deleted if its minibuffer is used by other frames.
Normally, you cannot delete a frame if all other frames are invisible,
@node Window System Selections
@section Window System Selections
-@cindex selection (for X windows)
+@cindex selection (for window systems)
The X server records a set of @dfn{selections} which permit transfer of
data between application programs. The various selections are
@cindex clipboard support (for MS-Windows)
When Emacs runs on MS-Windows, it does not implement X selections in
-general, but it it does support the clipboard. @code{x-get-selection}
+general, but it does support the clipboard. @code{x-get-selection}
and @code{x-set-selection} on MS-Windows support the text data type
only; if the clipboard holds other types of data, Emacs treats the
clipboard as empty.
@tindex display-planes
This function returns the number of planes the display supports.
This is typically the number of bits per pixel.
+For a tty display, it is log to base two of the number of colours supported.
@end defun
@defun display-visual-class &optional display