[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42872: [PATCH] Add all-frames as arg for count windows.
From: |
Lars Ingebrigtsen |
Subject: |
bug#42872: [PATCH] Add all-frames as arg for count windows. |
Date: |
Sun, 16 Aug 2020 14:28:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jen-Chieh Shen <jcs090218@gmail.com> writes:
> I think it is handy to have `all-frames` as an argument when using the
> `count-windows` function?
Sounds like a good addition.
> (defun count-windows (&optional minibuf)
> "Return the number of live windows on the selected frame.
> +
> The optional argument MINIBUF specifies whether the minibuffer
> -window shall be counted. See `walk-windows' for the precise
> -meaning of this argument."
> +window shall be counted.
> +
> +The optional argument ALL-FRAMES counted all windows instead of
> +just the selected frame.
> +
> +See `walk-windows' for the precise meaning of this argument."
But your patch doesn't actually add this -- it just changes the doc string?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no