Function: hattr:emacs-button-is-p

hattr:emacs-button-is-p is a byte-compiled function defined in hbut.el.

Signature

(hattr:emacs-button-is-p BUTTON)

Documentation

If BUTTON is a valid Emacs button, return its category, else return nil.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbut.el
(defun    hattr:emacs-button-is-p (button)
  "If BUTTON is a valid Emacs button, return its category, else return nil."
  (let* ((type (when (or (overlayp button) (markerp button))
		 (button-get button 'type)))
	 (category (when type (get type 'button-category-symbol))))
    category))