help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Buttons in help buffer that displays contents of variables


From: Yuri Khan
Subject: Re: Buttons in help buffer that displays contents of variables
Date: Mon, 24 Jul 2023 02:57:03 +0700

On Mon, 24 Jul 2023 at 02:34, Heime <heimeborgia@protonmail.com> wrote:

> Does the function associated with the button be restricted to a single 
> argument,
> meaning that users cannot pass any additional data to it ?

Passing the button is sufficiently general. An action can reach into
the button’s properties and/or use the button’s identity or one of its
properties to look up in an external alist. And, of course, you can
always create lexical closures over a multi-argument function,
adapting it to the action interface.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]