summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2001-10-08 06:52:24 +0000
committerMiles Bader <miles@gnu.org>2001-10-08 06:52:24 +0000
commit1e00f7205439ead3b7b63c9326934756cf850ac5 (patch)
treeaf4d1a8f7d631c93df15748557097d7be8b9b9cd /lisp
parent9180dc8c3d79c5fff98a6481830a78e9e8deae89 (diff)
downloademacs-1e00f7205439ead3b7b63c9326934756cf850ac5.tar.gz
(button-activate): USE-MOUSE-ACTION is optional.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/button.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/button.el b/lisp/button.el
index f1ce1fff413..3345015f9b8 100644
--- a/lisp/button.el
+++ b/lisp/button.el
@@ -184,7 +184,7 @@ Buttons inherit them by setting their `category' property to that symbol."
(point-max))
prop val)))
-(defsubst button-activate (button use-mouse-action)
+(defsubst button-activate (button &optional use-mouse-action)
"Call BUTTON's action property.
If USE-MOUSE-ACTION is non-nil, invoke the button's mouse-action
instead of its normal action; if the button has no mouse-action,