Function: epa--derived-mode-p

epa--derived-mode-p is a function alias for derived-mode-p, defined in subr.el.gz.

This function is obsolete since 28.1; use derived-mode-p instead.

Signature

(epa--derived-mode-p &optional MODES &rest OLD-MODES)

Documentation

Return non-nil if the current major mode is derived from one of MODES.

MODES should be a list of symbols or a single mode symbol instead of a list. This examines the parent modes set by define-derived-mode and also additional ones set by derived-mode-add-parents. We also still support the deprecated calling convention:
(derived-mode-p &rest MODES).

Aliases

epa--derived-mode-p (obsolete since 28.1)