From: Richard M. Stallman Date: Thu, 31 Aug 2006 23:04:42 +0000 (+0000) Subject: (Syntactic Font Lock): Mention specific faces once again. X-Git-Url: https://git.hcoop.net/bpt/emacs.git/commitdiff_plain/fd2adae323edb7a6aaa0b890154cc5d5dda0b2f4 (Syntactic Font Lock): Mention specific faces once again. --- diff --git a/lispref/modes.texi b/lispref/modes.texi index 94179d04b9..68aeace5c3 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi @@ -2896,10 +2896,11 @@ directives in C. Syntactic fontification uses the syntax table to find comments and string constants (@pxref{Syntax Tables}). It highlights them using -the face returned by @code{font-lock-syntactic-face-function} -(@pxref{Faces for Font Lock}). There are several variables that -affect syntactic fontification; you should set them by means of -@code{font-lock-defaults} (@pxref{Font Lock Basics}). +@code{font-lock-comment-face} and @code{font-lock-string-face} +(@pxref{Faces for Font Lock}), or whatever +@code{font-lock-syntactic-face-function} chooses. There are several +variables that affect syntactic fontification; you should set them by +means of @code{font-lock-defaults} (@pxref{Font Lock Basics}). @defvar font-lock-keywords-only Non-@code{nil} means Font Lock should not do syntactic fontification;