Function: ibtypes::hbut-identifier

ibtypes::hbut-identifier is a byte-compiled function defined in hibtypes.el.

Signature

(ibtypes::hbut-identifier)

Documentation

Action Key - Jump to variable definition.

When on the name of a variable that holds a Hyperbole button, e.g. hbut:current.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20261018.1143/hibtypes.el
;;; ========================================================================
;;; Jumps to and displays help for variables that store Hyperbole buttons
;;; ========================================================================

(defib hbut-identifier ()
  "Action Key - Jump to variable definition.
When on the name of a variable that holds a Hyperbole button,
e.g. hbut:current."
  (let ((identifier (smart-prog-at-tag-p t))
	start-end)
    (when (and identifier
	       (hbut:is-p (intern-soft identifier))
	       (setq start-end (bounds-of-thing-at-point 'symbol)))
      (ibut:label-set identifier (car start-end) (cdr start-end))
      (ignore-errors
	(hact #'smart-prog-tag identifier)))))