]> code.delx.au - gnu-emacs/commitdiff
(Syntactic Font Lock): Give default for font-lock-syntax-table.
authorRichard M. Stallman <rms@gnu.org>
Mon, 17 Jul 2006 20:56:18 +0000 (20:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 17 Jul 2006 20:56:18 +0000 (20:56 +0000)
lispref/modes.texi

index c98039d7ae03ae8ac29dfeb187cb15abecb02572..8e64ece706620b449386722801640ce9e0d2fddf 100644 (file)
@@ -2918,7 +2918,8 @@ way for a mode to set this variable to @code{t} is with
 @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