changeset 71940:6bc43bba870c

(Syntactic Font Lock): Give default for font-lock-syntax-table.
author Richard M. Stallman <rms@gnu.org>
date Mon, 17 Jul 2006 20:56:18 +0000
parents 3c0fceee4b4a
children ee67055ef71f
files lispref/modes.texi
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/modes.texi	Mon Jul 17 20:55:07 2006 +0000
+++ b/lispref/modes.texi	Mon Jul 17 20:56:18 2006 +0000
@@ -2918,7 +2918,8 @@
 @defvar font-lock-syntax-table
 This variable holds the syntax table to use for fontification of
 comments and strings.  Specify it using @var{syntax-alist} in
-@code{font-lock-defaults}.
+@code{font-lock-defaults}.  If this is @code{nil}, fontification uses
+the buffer's syntax table.
 @end defvar
 
 @defvar font-lock-beginning-of-syntax-function