Function: mode-local-use-bindings-p

mode-local-use-bindings-p is a function alias for provided-mode-derived-p, defined in subr.el.gz.

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

Signature

(mode-local-use-bindings-p MODE &optional MODES &rest OLD-MODES)

Documentation

Non-nil if MODE is derived from a mode that is a member of the list MODES.

MODES can also be a single mode instead of a list. This examines the parent modes set by define-derived-mode and also additional ones set by derived-mode-add-parents. If you just want to check the current major-mode, use derived-mode-p. We also still support the deprecated calling convention:
(provided-mode-derived-p MODE &rest MODES).

Aliases

mode-local-use-bindings-p (obsolete since 30.1)