aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2025-02-28 09:12:05 +0200
committerEli Zaretskii2025-02-28 09:12:05 +0200
commit6ed119d3052ffebd20450ec0c7fb3abf863b3a49 (patch)
tree01b6fdb5cdfeecebda3004861bb27d76a2f57948 /doc
parentbecdfb11a5b13bc773729236763e99e513806451 (diff)
downloademacs-6ed119d3052ffebd20450ec0c7fb3abf863b3a49.tar.gz
emacs-6ed119d3052ffebd20450ec0c7fb3abf863b3a49.zip
; Fix documentation of recent treesit changes
* src/treesit.c (Ftreesit_query_capture) (Ftreesit_parser_embed_level, Ftreesit_parser_set_embed_level) (Ftreesit_parser_set_parent_node): * lisp/treesit.el (treesit-query-range) (treesit-query-range-by-language, treesit-range-settings) (treesit-range-rules, treesit--parser-at-level) (treesit--update-ranges-non-local, treesit--update-ranges-local) (treesit--update-range-1): Fix wording and typos in doc strings. * doc/lispref/parsing.texi (Pattern Matching): Fix wording.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/parsing.texi5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi
index 2b224036de0..ade7b819756 100644
--- a/doc/lispref/parsing.texi
+++ b/doc/lispref/parsing.texi
@@ -1247,9 +1247,8 @@ matching node whose span overlaps with the region between @var{beg}
1247and @var{end} is captured; it doesn't have to be completely contained 1247and @var{end} is captured; it doesn't have to be completely contained
1248in the region. 1248in the region.
1249 1249
1250If @var{grouped} is non-@code{nil}, instead of returning a list of 1250If @var{grouped} is non-@code{nil}, this function returns a grouped list
1251@w{@code{(@var{capture_name} . @var{node})}}, this function returns a 1251of lists of captured nodes. The grouping is determined by @var{query}.
1252list of list of it. The grouping is determined by @var{query}.
1253Captures in the same match of a pattern in @var{query} are grouped 1252Captures in the same match of a pattern in @var{query} are grouped
1254together. 1253together.
1255 1254