Function: widget-button-press

widget-button-press is an interactive and byte-compiled function defined in wid-edit.el.gz.

Signature

(widget-button-press POS &optional EVENT)

Documentation

Invoke button at POS.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun widget-button-press (pos &optional event)
  "Invoke button at POS."
  (interactive "@d")
  (let ((button (get-char-property pos 'button)))
    (if button
	(widget-apply-action button event)
      (let ((command (lookup-key widget-global-map (this-command-keys))))
	(when (commandp command)
	  (call-interactively command))))))