Function: hattr:emacs-button-attributes
hattr:emacs-button-attributes is a byte-compiled function defined in
hbut.el.
Signature
(hattr:emacs-button-attributes BUTTON)
Documentation
Return a property list of an Emacs BUTTON.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbut.el
(defun hattr:emacs-button-attributes (button)
"Return a property list of an Emacs BUTTON."
(if (markerp button)
;; If on a text property button, button-at will
;; return a marker pointing to the button, not a
;; button with attributes.
(with-current-buffer (marker-buffer button)
(when (get-text-property button 'button)
(text-properties-at (point))))
(let ((category (hattr:emacs-button-is-p button)))
(when category
(symbol-plist category)))))