Function: font-lock-choose-keywords
font-lock-choose-keywords is a byte-compiled function defined in
font-lock.el.gz.
Signature
(font-lock-choose-keywords KEYWORDS LEVEL)
Documentation
Return LEVELth element of KEYWORDS.
A LEVEL of nil is equal to a LEVEL of 0, a LEVEL of t is equal to
(1- (length KEYWORDS)).
Source Code
;; Defined in /usr/src/emacs/lisp/font-lock.el.gz
(defun font-lock-choose-keywords (keywords level)
"Return LEVELth element of KEYWORDS.
A LEVEL of nil is equal to a LEVEL of 0, a LEVEL of t is equal to
\(1- (length KEYWORDS))."
(cond ((not (and (listp keywords) (symbolp (car keywords))))
keywords)
((numberp level)
(or (nth level keywords) (car (last keywords))))
((eq level t)
(car (last keywords)))
(t
(car keywords))))