Next: Syntactic Font Lock, Previous: Precalculated Fontification, Up: Font Lock Mode
You can make Font Lock mode use any face, but several faces are
defined specifically for Font Lock mode. Each of these symbols is both
a face name, and a variable whose default value is the symbol itself.
Thus, the default value of font-lock-comment-face is
font-lock-comment-face. This means you can write
font-lock-comment-face in a context such as
font-lock-keywords where a face-name-valued expression is used.
font-lock-comment-facefont-lock-comment-delimiter-facefont-lock-doc-facefont-lock-string-facefont-lock-keyword-facefor and if in C.
font-lock-builtin-facefont-lock-function-name-facefont-lock-variable-name-facefont-lock-type-facefont-lock-constant-facefont-lock-preprocessor-facefont-lock-negation-char-facefont-lock-warning-face#error
directives in C.