summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-07-17 20:56:18 +0000
committerRichard M. Stallman <rms@gnu.org>2006-07-17 20:56:18 +0000
commit90b80b6944967a203d7ecc74a81f447328b321bd (patch)
tree8b57dd608b05b86ccbfcb0771abe3e339ffeed91
parentf2920ffe8e0be5d4e9dd57e4fc673b7119cb0045 (diff)
downloademacs-90b80b6944967a203d7ecc74a81f447328b321bd.tar.gz
emacs-90b80b6944967a203d7ecc74a81f447328b321bd.tar.bz2
emacs-90b80b6944967a203d7ecc74a81f447328b321bd.zip
(Syntactic Font Lock): Give default for font-lock-syntax-table.
-rw-r--r--lispref/modes.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/lispref/modes.texi b/lispref/modes.texi
index c98039d7ae0..8e64ece7066 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -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