Function: gnus-article-press-button

gnus-article-press-button is an interactive and byte-compiled function defined in gnus-art.el.gz.

Signature

(gnus-article-press-button &optional EVENT)

Documentation

Check text at point for a callback function.

If the text at point has a gnus-callback property, call it with the value of the gnus-data text property.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-art.el.gz
(defun gnus-article-press-button (&optional event)
  "Check text at point for a callback function.
If the text at point has a `gnus-callback' property,
call it with the value of the `gnus-data' text property."
  (interactive (list last-nonmenu-event) gnus-article-mode)
  (save-excursion
    (when event
      (mouse-set-point event))
    (let ((fun (get-text-property (point) 'gnus-callback)))
      (when fun
        (funcall fun (get-text-property (point) 'gnus-data))))))