]> git.eshelyaron.com Git - emacs.git/commitdiff
(button-activate): USE-MOUSE-ACTION is optional.
authorMiles Bader <miles@gnu.org>
Mon, 8 Oct 2001 06:52:24 +0000 (06:52 +0000)
committerMiles Bader <miles@gnu.org>
Mon, 8 Oct 2001 06:52:24 +0000 (06:52 +0000)
lisp/button.el

index f1ce1fff41367c6962a5c997792044dfba63d5f4..3345015f9b83121ef11ed3fba0c436a0923dc8ef 100644 (file)
@@ -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,