Function: hattr:actype-is-p

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

Signature

(hattr:actype-is-p ACTYPE-SYMBOL &optional HBUT-SYMBOL)

Documentation

Return t if ACTYPE-SYMBOL matches an hbut's ='actype attr value.

The hbut used defaults to ='hbut:current or the optional HBUT-SYMBOL.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbut.el
;;; ========================================================================
;;; hattr class
;;; ========================================================================

(defun hattr:actype-is-p (actype-symbol &optional hbut-symbol)
  "Return t if ACTYPE-SYMBOL matches an hbut's \='actype attr value.
The hbut used defaults to \='hbut:current or the optional HBUT-SYMBOL."
  (hattr:is-p 'actype
	      (or (actype:def-symbol actype-symbol) actype-symbol)
	      hbut-symbol))