summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-08-21 15:55:05 +0300
committerEli Zaretskii <eliz@gnu.org>2015-08-21 15:55:05 +0300
commit2f5e8090824d7d1ca8894c12a1e51e2ad340c012 (patch)
tree80ce331b83f2fb16018b38305663d6f657cb8519 /lisp
parenteb022c1e742eb56cf442c1e649cce3e45c18aa29 (diff)
downloademacs-2f5e8090824d7d1ca8894c12a1e51e2ad340c012.tar.gz
Clarify documentation of 'get-buffer-window-list'
* doc/lispref/windows.texi (Buffers and Windows): Mention that the current window, if relevant, will be the first in the list returned by 'get-buffer-window-list'. * lisp/window.el (get-buffer-window-list): Doc fix. (Bug#21305)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/window.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/window.el b/lisp/window.el
index c783b0d5b10..d39c7018601 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -2299,8 +2299,8 @@ selected frame and no others."
(defun get-buffer-window-list (&optional buffer-or-name minibuf all-frames)
"Return list of all windows displaying BUFFER-OR-NAME, or nil if none.
BUFFER-OR-NAME may be a buffer or the name of an existing buffer
-and defaults to the current buffer. Windows are scanned starting
-with the selected window.
+and defaults to the current buffer. If the selected window displays
+BUFFER-OR-NAME, it will be the first in the resulting list.
MINIBUF t means include the minibuffer window even if the
minibuffer is not active. MINIBUF nil or omitted means include