From 8cda625b22e20b0e0e6bbf602a1bd9d5042cf264 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 27 Nov 2022 10:10:05 +0200 Subject: [PATCH] ; * src/treesit.c (Ftreesit_induce_sparse_tree): Doc fix. --- src/treesit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/treesit.c b/src/treesit.c index 6526896061d..f52f4d3c14a 100644 --- a/src/treesit.c +++ b/src/treesit.c @@ -2915,7 +2915,7 @@ that case, instead of returning the matched nodes, pass each node to PROCESS-FN, and use its return value instead. If non-nil, LIMIT is the number of levels to go down the tree from -ROOT. If LIMIT is nil, default to 1000. +ROOT. If LIMIT is nil or omitted, it defaults to 1000. Each node in the returned tree looks like (NODE . (CHILD ...)). The root of this tree might be nil, if ROOT doesn't match PREDICATE. -- 2.39.5