(Precalculated Fontification): Don't say that
authorRichard M. Stallman <rms@gnu.org>
Mon, 16 Oct 2006 18:54:26 +0000 (18:54 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 16 Oct 2006 18:54:26 +0000 (18:54 +0000)
not setting font-lock-defaults avoids loading font-lock.

lispref/modes.texi

index bb8d840..d5e058f 100644 (file)
@@ -2816,8 +2816,7 @@ which construct their text programmatically, such as
 
 If your mode does not use any of the other machinery of Font Lock
 (i.e. it only uses the @code{font-lock-face} property), it should not
-set the variable @code{font-lock-defaults}.  That way, it will not
-cause loading of the @file{font-lock} library.
+set the variable @code{font-lock-defaults}.
 
 @node Faces for Font Lock
 @subsection Faces for Font Lock