summaryrefslogtreecommitdiff
path: root/lispref/windows.texi
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-11-20 20:28:41 +0000
committerGerd Moellmann <gerd@gnu.org>2000-11-20 20:28:41 +0000
commite258eedc76c7259036ac956a0a73f0b0caa2da63 (patch)
treec310577e83e86d8c946ded3102e2c527967ce9bc /lispref/windows.texi
parent29a01b7231f39128e0702cc33deadf57fba964e9 (diff)
downloademacs-e258eedc76c7259036ac956a0a73f0b0caa2da63.tar.gz
Add description of function window-list.
Diffstat (limited to 'lispref/windows.texi')
-rw-r--r--lispref/windows.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/lispref/windows.texi b/lispref/windows.texi
index 053edf2b661..0298407729a 100644
--- a/lispref/windows.texi
+++ b/lispref/windows.texi
@@ -581,6 +581,20 @@ set of windows to include in the scan. See @code{next-window}, above,
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