Function: widget-move-and-invoke
widget-move-and-invoke is an interactive and byte-compiled function
defined in wid-edit.el.gz.
Signature
(widget-move-and-invoke EVENT)
Documentation
Move to where you click, and if it is an active field, invoke it.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun widget-move-and-invoke (event)
"Move to where you click, and if it is an active field, invoke it."
(interactive "e")
(mouse-set-point event)
(let ((pos (widget-event-point event)))
(if (and pos (get-char-property pos 'button))
(widget-button-click event))))