Function: button-has-type-p

button-has-type-p is a byte-compiled function defined in button.el.gz.

Signature

(button-has-type-p BUTTON TYPE)

Documentation

Return non-nil if BUTTON has button-type TYPE, or one of its subtypes.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/button.el.gz
(defun button-has-type-p (button type)
  "Return non-nil if BUTTON has `button-type' TYPE, or one of its subtypes."
  (button-type-subtype-p (button-get button 'type) type))