]> git.eshelyaron.com Git - emacs.git/commitdiff
Mention how to only get syntactic font locking in the manual
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 13 Jun 2022 18:57:25 +0000 (20:57 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 14 Jun 2022 11:53:20 +0000 (13:53 +0200)
* doc/lispref/modes.texi (Syntactic Font Lock): Note how to only
get syntactic font locking (bug#46039).

doc/lispref/modes.texi

index ddcda661a068a6c03ac03b2f06aafbafcd4b661d..4f40f35ff45d15ef1234269c0c62524fb13a52cc 100644 (file)
@@ -3665,6 +3665,10 @@ the value is @code{nil}, Font Lock will call @code{jit-lock-register}
 (@pxref{Other Font Lock Variables}) to set up for automatic
 refontification of buffer text following a modified line to reflect
 the new syntactic context due to the change.
+
+To use only syntactic fontification, this variable should
+be non-@code{nil}, while @code{font-lock-keywords} should be set to
+@code{nil} (@pxref{Font Lock Basics}).
 @end defvar
 
 @defvar font-lock-syntax-table