Mercurial > emacs
changeset 72583:9d318ca86e6e
(Syntactic Font Lock): Mention specific faces once again.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 31 Aug 2006 23:04:42 +0000 |
parents | ebca3d924818 |
children | ad48859287a7 |
files | lispref/modes.texi |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/modes.texi Thu Aug 31 19:47:47 2006 +0000 +++ b/lispref/modes.texi Thu Aug 31 23:04:42 2006 +0000 @@ -2896,10 +2896,11 @@ 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;