Commit 24aacfc9 authored by Eli Zaretskii's avatar Eli Zaretskii

Improve documentation of buttons (Bug#19628)

 doc/lispref/display.texi (Manipulating Buttons): Explain more about the
 'action' property.
parent 52ae3dbb
2015-01-20 Eli Zaretskii <eliz@gnu.org>
* display.texi (Manipulating Buttons): Explain more about the
'action' property. (Bug#19628)
* text.texi (Clickable Text): Improve indexing. (Bug#19629)
2015-01-15 Eli Zaretskii <eliz@gnu.org>
......
......@@ -5511,10 +5511,12 @@ Set @var{button}'s @var{prop} property to @var{val}.
@end defun
@defun button-activate button &optional use-mouse-action
Call @var{button}'s @code{action} property (i.e., invoke it). If
@var{use-mouse-action} is non-@code{nil}, try to invoke the button's
@code{mouse-action} property instead of @code{action}; if the button
has no @code{mouse-action} property, use @code{action} as normal.
Call @var{button}'s @code{action} property (i.e., invoke the function
that is the value of that property, passing it the single argument
@var{button}). If @var{use-mouse-action} is non-@code{nil}, try to
invoke the button's @code{mouse-action} property instead of
@code{action}; if the button has no @code{mouse-action} property, use
@code{action} as normal.
@end defun
@defun button-label button
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment