projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80dcd78
)
; * src/treesit.c (Ftreesit_induce_sparse_tree): Doc fix.
author
Eli Zaretskii
<eliz@gnu.org>
Sun, 27 Nov 2022 08:10:05 +0000
(10:10 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sun, 27 Nov 2022 08:10:05 +0000
(10:10 +0200)
src/treesit.c
patch
|
blob
|
history
diff --git
a/src/treesit.c
b/src/treesit.c
index 6526896061d05f36e92c7a54c8d0eee70c47a32f..f52f4d3c14ab549c126b0fa635f73ec25581322d 100644
(file)
--- 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.