diff options
| author | Eli Zaretskii | 2025-02-28 09:12:05 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-02-28 09:12:05 +0200 |
| commit | 6ed119d3052ffebd20450ec0c7fb3abf863b3a49 (patch) | |
| tree | 01b6fdb5cdfeecebda3004861bb27d76a2f57948 /doc | |
| parent | becdfb11a5b13bc773729236763e99e513806451 (diff) | |
| download | emacs-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.texi | 5 |
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} | |||
| 1247 | and @var{end} is captured; it doesn't have to be completely contained | 1247 | and @var{end} is captured; it doesn't have to be completely contained |
| 1248 | in the region. | 1248 | in the region. |
| 1249 | 1249 | ||
| 1250 | If @var{grouped} is non-@code{nil}, instead of returning a list of | 1250 | If @var{grouped} is non-@code{nil}, this function returns a grouped list |
| 1251 | @w{@code{(@var{capture_name} . @var{node})}}, this function returns a | 1251 | of lists of captured nodes. The grouping is determined by @var{query}. |
| 1252 | list of list of it. The grouping is determined by @var{query}. | ||
| 1253 | Captures in the same match of a pattern in @var{query} are grouped | 1252 | Captures in the same match of a pattern in @var{query} are grouped |
| 1254 | together. | 1253 | together. |
| 1255 | 1254 | ||