Function: button-type-subtype-p

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

Signature

(button-type-subtype-p TYPE SUPERTYPE)

Documentation

Return non-nil if button-type TYPE is a subtype of SUPERTYPE.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/button.el.gz
(defun button-type-subtype-p (type supertype)
  "Return non-nil if `button-type' TYPE is a subtype of SUPERTYPE."
  (or (eq type supertype)
      (and type
	   (button-type-subtype-p (button-type-get type 'supertype)
				  supertype))))