From: Sean Whitton Date: Fri, 4 Oct 2024 09:28:38 +0000 (+0800) Subject: count-windows: Fix reference to walk-windows X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=14f440690f4f29da7295117939e838381ef0238a;p=emacs.git 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. (cherry picked from commit 51ef05f684c779b492965571cf9a169b93e86aa0) --- diff --git a/lisp/window.el b/lisp/window.el index 3966fb1073f..a029ae93315 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -2660,7 +2660,7 @@ window is included in the count. If ALL-FRAMES is non-nil, count the windows in all frames instead 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))) ;;; Resizing windows.