Subject: bug#42887: 28.0.50; Customize Group doesn't show/hide option on repeated clicking

From: Eli Zaretskii <[email-masked]>
Date: Sat, 22 Mar 2025 13:09:02 +0200

> Date: Sat, 22 Mar 2025 05:41:14 -0300
> From: Mauro Aranda <[email-masked]>
> Cc: Lars Ingebrigtsen <[email-masked]>, Eli Zaretskii <[email-masked]>,
>  Stefan Kangas <[email-masked]>, [email-masked],
>  Po Lu <[email-masked]>
> 
> @@ -847,15 +848,26 @@ Widgets and the Buffer
>  
>  @kindex mouse-2 @r{(on button widgets})
>  @item mouse-2
> +@itemx mouse-1
>  @findex widget-button-click
>  @deffn Command widget-button-click @var{event}

That @findex entry is redundant, since @deffn automatically creates an
index entry for its argument function.

> -In case the mouse-click is on a widget, calls the function stored in
> -the @code{:mouse-down-action} property.
> +@kindex down-mouse-1 @r{(on button widgets)}
> +@item down-mouse-1
> +@itemx down-mouse-2
> +@findex widget-down-mouse
> +@deffn Command widget-down-mouse @var{event}

Likewise here.

Thanks.