Function: hbut:at-p

hbut:at-p is an interactive and byte-compiled function defined in hbut.el.

Signature

(hbut:at-p)

Documentation

Return symbol for explicit or implicit Hyperbole button at point or nil.

Then use (hbut:act) to activate the button.

When called interactively, display help for the button at point as well.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbut.el
(defun    hbut:at-p ()
  "Return symbol for explicit or implicit Hyperbole button at point or nil.
Then use (hbut:act) to activate the button.

When called interactively, display help for the button at point as well."
  (interactive)
  (if (called-interactively-p 'interactive)
      (let ((hbut (or (ebut:at-p) (ibut:at-p))))
	(when hbut
	  (if (fboundp #'hkey-help)
	      (hkey-help)
	    (message "%S" (symbol-plist hbut)))
	  hbut))
    (or (ebut:at-p) (ibut:at-p))))