emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 706ef0ae93: Mention how to only get syntactic font locking in the


From: Lars Ingebrigtsen
Subject: master 706ef0ae93: Mention how to only get syntactic font locking in the manual
Date: Tue, 14 Jun 2022 07:54:25 -0400 (EDT)

branch: master
commit 706ef0ae932a68b8eca86678d0cc627854c25c15
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Mention how to only get syntactic font locking in the manual
    
    * doc/lispref/modes.texi (Syntactic Font Lock): Note how to only
    get syntactic font locking (bug#46039).
---
 doc/lispref/modes.texi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index ddcda661a0..4f40f35ff4 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]