205 |
|
|
206 |
;; PUBLIC: find if the current mode derives from another. |
;; PUBLIC: find if the current mode derives from another. |
207 |
|
|
208 |
;;; ;;;###autoload |
;;;###autoload |
209 |
(defun derived-mode-p (&rest modes) |
(defun derived-mode-p (&rest modes) |
210 |
"Non-nil if the current major mode is derived from one of MODES. |
"Non-nil if the current major mode is derived from one of MODES. |
211 |
Uses the `derived-mode-parent' property of the symbol to trace backwards." |
Uses the `derived-mode-parent' property of the symbol to trace backwards." |