| [ < ] | [ > ] | [ << ] | [Plus haut] | [ >> ] | [Top] | [Table des matières] | [Index] | [ ? ] |
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-faceUsed (typically) for comments.
font-lock-comment-delimiter-faceUsed (typically) for comments delimiters.
font-lock-doc-faceUsed (typically) for documentation strings in the code.
font-lock-string-faceUsed (typically) for string constants.
font-lock-keyword-faceUsed (typically) for keywords—names that have special syntactic
significance, like for and if in C.
font-lock-builtin-faceUsed (typically) for built-in function names.
font-lock-function-name-faceUsed (typically) for the name of a function being defined or declared, in a function definition or declaration.
font-lock-variable-name-faceUsed (typically) for the name of a variable being defined or declared, in a variable definition or declaration.
font-lock-type-faceUsed (typically) for names of user-defined data types, where they are defined and where they are used.
font-lock-constant-faceUsed (typically) for constant names.
font-lock-preprocessor-faceUsed (typically) for preprocessor commands.
font-lock-negation-char-faceUsed (typically) for easily-overlooked negation characters.
font-lock-warning-faceUsed (typically) for constructs that are peculiar, or that greatly change
the meaning of other text. For example, this is used for
‘;;;###autoload’ cookies in Emacs Lisp, and for #error
directives in C.
Ce document a été généré par Eric Reinbold le 13 Octobre 2007 en utilisant texi2html 1.78.