comparison lispref/modes.texi @ 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 9ef3c2ead027
children 2b79bc909a3d c358d0861b16
comparison
equal deleted inserted replaced
72582:ebca3d924818 72583:9d318ca86e6e
2894 @node Syntactic Font Lock 2894 @node Syntactic Font Lock
2895 @subsection Syntactic Font Lock 2895 @subsection Syntactic Font Lock
2896 2896
2897 Syntactic fontification uses the syntax table to find comments and 2897 Syntactic fontification uses the syntax table to find comments and
2898 string constants (@pxref{Syntax Tables}). It highlights them using 2898 string constants (@pxref{Syntax Tables}). It highlights them using
2899 the face returned by @code{font-lock-syntactic-face-function} 2899 @code{font-lock-comment-face} and @code{font-lock-string-face}
2900 (@pxref{Faces for Font Lock}). There are several variables that 2900 (@pxref{Faces for Font Lock}), or whatever
2901 affect syntactic fontification; you should set them by means of 2901 @code{font-lock-syntactic-face-function} chooses. There are several
2902 @code{font-lock-defaults} (@pxref{Font Lock Basics}). 2902 variables that affect syntactic fontification; you should set them by
2903 means of @code{font-lock-defaults} (@pxref{Font Lock Basics}).
2903 2904
2904 @defvar font-lock-keywords-only 2905 @defvar font-lock-keywords-only
2905 Non-@code{nil} means Font Lock should not do syntactic fontification; 2906 Non-@code{nil} means Font Lock should not do syntactic fontification;
2906 it should only fontify based on @code{font-lock-keywords}. The normal 2907 it should only fontify based on @code{font-lock-keywords}. The normal
2907 way for a mode to set this variable to @code{t} is with 2908 way for a mode to set this variable to @code{t} is with