emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 6e52a9fcad 4/9: ; * doc/lispref/modes.texi (Parser-based Font L


From: Yuan Fu
Subject: emacs-29 6e52a9fcad 4/9: ; * doc/lispref/modes.texi (Parser-based Font Lock): Minor fixes.
Date: Mon, 26 Dec 2022 04:48:08 -0500 (EST)

branch: emacs-29
commit 6e52a9fcadc5b939396febffa9378c8b361d8313
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    ; * doc/lispref/modes.texi (Parser-based Font Lock): Minor fixes.
---
 doc/lispref/modes.texi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 736c2d6841..449529a430 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -4023,11 +4023,12 @@ This function takes a series of @var{query-spec}s, 
where each
 @var{:keyword}/@var{value} pairs.  Each @var{query} is a
 tree-sitter query in either the string, s-expression or compiled form.
 
+@c FIXME: Cross-ref treesit-font-lock-level to user manual.
 For each @var{query}, the @var{:keyword}/@var{value} pairs that
 precede it add meta information to it.  The @code{:lang} keyword
 declares @var{query}'s language.  The @code{:feature} keyword sets the
 feature name of @var{query}.  Users can control which features are
-enabled with @code{font-lock-maximum-decoration} and
+enabled with @code{treesit-font-lock-level} and
 @code{treesit-font-lock-feature-list} (described below).  These two
 keywords are mandatory.
 
@@ -4067,10 +4068,11 @@ priority.  If a capture name is neither a face nor a 
function, it is
 ignored.
 @end defun
 
+@c FIXME: Cross-ref treesit-font-lock-level to user manual.
 @defvar treesit-font-lock-feature-list
 This is a list of lists of feature symbols.  Each element of the list
 is a list that represents a decoration level.
-@code{font-lock-maximum-decoration} controls which levels are
+@code{treesit-font-lock-level} controls which levels are
 activated.
 
 Each element of the list is a list of the form @w{@code{(@var{feature}



reply via email to

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