diff lispref/windows.texi @ 33656:f17374b3bc22

Add description of function window-list.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 20 Nov 2000 20:28:41 +0000
parents 6f2c9914b5b0
children a39402e633cd
line wrap: on
line diff
--- a/lispref/windows.texi	Mon Nov 20 19:45:48 2000 +0000
+++ b/lispref/windows.texi	Mon Nov 20 20:28:41 2000 +0000
@@ -581,6 +581,20 @@
 for details.
 @end defun
 
+@defun window-list &optional frame minibuf window
+This function returns a list of the windows on @var{frame}, starting
+with @var{window}.  If @var{frame} is @code{nil} or omitted, the
+selected frame is used instead; if @var{window} is @code{nil} or
+omitted, the selected window is used instead.
+
+The value of @var{minibuf} determines if the minibuffer window will be
+included in the result list.  If @var{minibuf} is @code{t}, the
+minibuffer window will be included, even if it isn't active.  If
+@var[minibuf} is @code{nil} or omitted, the minibuffer window will
+only be included in the list if it is active.  If @var{minibuf} is
+neither @code{nil} nor @code{t}, the minibuffer window is not
+included, whether or not it is active.
+
 @node Buffers and Windows
 @section Buffers and Windows
 @cindex examining windows