Function: font-lock-value-in-major-mode
font-lock-value-in-major-mode is a byte-compiled function defined in
font-lock.el.gz.
Signature
(font-lock-value-in-major-mode VALUES)
Documentation
If VALUES is a list, use major-mode as a key and return the assq value.
VALUES should then be an alist on the form ((MAJOR-MODE . VALUE) ...) where MAJOR-MODE may be t. If VALUES isn't a list, return VALUES.
Source Code
;; Defined in /usr/src/emacs/lisp/font-lock.el.gz
(defun font-lock-value-in-major-mode (values)
"If VALUES is a list, use `major-mode' as a key and return the `assq' value.
VALUES should then be an alist on the form ((MAJOR-MODE . VALUE) ...) where
MAJOR-MODE may be t.
If VALUES isn't a list, return VALUES."
(if (consp values)
(cdr (or (assq major-mode values) (assq t values)))
values))