# HG changeset patch # User Stefan Monnier # Date 1157044486 0 # Node ID 9ef3c2ead027d4a036068c8cf0c2160e5d53aca6 # Parent 2da08bd767929064331a4af6ff1eb6ff4a20d164 (Syntactic Font Lock): Mention font-lock-syntactic-face-function. Suggested by Richard Bielawski diff -r 2da08bd76792 -r 9ef3c2ead027 lispref/ChangeLog --- a/lispref/ChangeLog Thu Aug 31 17:10:34 2006 +0000 +++ b/lispref/ChangeLog Thu Aug 31 17:14:46 2006 +0000 @@ -1,3 +1,9 @@ +2006-08-31 Stefan Monnier + + * modes.texi (Syntactic Font Lock): + Mention font-lock-syntactic-face-function. + Suggested by Richard Bielawski + 2006-08-29 Chong Yidong * display.texi (Images): Add xrref to display-images-p. diff -r 2da08bd76792 -r 9ef3c2ead027 lispref/modes.texi --- a/lispref/modes.texi Thu Aug 31 17:10:34 2006 +0000 +++ b/lispref/modes.texi Thu Aug 31 17:14:46 2006 +0000 @@ -2896,7 +2896,7 @@ Syntactic fontification uses the syntax table to find comments and string constants (@pxref{Syntax Tables}). It highlights them using -@code{font-lock-comment-face} and @code{font-lock-string-face} +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}).