Function: hyperbole-activate-button

hyperbole-activate-button is an autoloaded and byte-compiled function defined in hyperbole.el.

Signature

(hyperbole-activate-button LABEL)

Documentation

Activate a current buffer implicit/explicit button with LABEL.

If LABEL is nil, find the label around point. First try to match LABEL to a known programming identifier and jump to its definition. If no such identifier is found, activate any implicit or explicit Hyperbole button at point.

Return non-nil if a button was activated, else nil.

Add this function to org-open-link-functions for activation of Hyperbole buttons embedded within Org links.

Aliases

hbut:activate-at-p (obsolete since 9.3.2)

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20261030.2317/hyperbole.el
;;; ************************************************************************
;;; Activate Hyperbole Buttons embedded within Org Links
;;; ************************************************************************

;;;###autoload
(defun hyperbole-activate-button (label)
  "Activate a current buffer implicit/explicit button with LABEL.
If LABEL is nil, find the label around point.  First try to match LABEL
to a known programming identifier and jump to its definition.  If no
such identifier is found, activate any implicit or explicit Hyperbole
button at point.

Return non-nil if a button was activated, else nil.

Add this function to `org-open-link-functions' for activation of
Hyperbole buttons embedded within Org links."
  (cond ((hbut:at-p)
	 (hui:hbut-act 'hbut:current)
	 t)
        ((smart-prog-to-definition label))))