changeset 39676:9e8365caa0ee

(button-activate): USE-MOUSE-ACTION is optional.
author Miles Bader <miles@gnu.org>
date Mon, 08 Oct 2001 06:52:24 +0000
parents a4def4204419
children 05b7a0e7b426
files lisp/button.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/button.el	Mon Oct 08 06:45:26 2001 +0000
+++ b/lisp/button.el	Mon Oct 08 06:52:24 2001 +0000
@@ -184,7 +184,7 @@
 	 (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,