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-face
font-lock-string-face
font-lock-keyword-face
for
and if
in C.
font-lock-builtin-face
font-lock-function-name-face
font-lock-variable-name-face
font-lock-type-face
font-lock-constant-face
font-lock-warning-face
#error
directives in C.
Go to the first, previous, next, last section, table of contents.