1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

count-windows: Fix reference to walk-windows

* lisp/window.el (count-windows): Refer to walk-windows for the
precise meaning of both the MINIBUF and ALL-FRAMES arguments,
not just the ALL-FRAMES argument.  In both functions, these
arguments are both passed through to window-list-1.
This commit is contained in:
Sean Whitton 2024-10-04 17:28:38 +08:00
parent 5eaf0c784b
commit 51ef05f684

View File

@ -2661,7 +2661,7 @@ window is included in the count.
If ALL-FRAMES is non-nil, count the windows in all frames instead If ALL-FRAMES is non-nil, count the windows in all frames instead
just the selected frame. just the selected frame.
See `walk-windows' for the precise meaning of this argument." See `walk-windows' for the precise meaning of these arguments."
(length (window-list-1 nil minibuf all-frames))) (length (window-list-1 nil minibuf all-frames)))
;;; Resizing windows. ;;; Resizing windows.