projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c7950f
)
; * doc/lispref/parsing.texi (Retrieving Nodes): Add notice.
author
Yuan Fu
<casouri@gmail.com>
Sun, 25 Dec 2022 18:38:05 +0000
(10:38 -0800)
committer
Yuan Fu
<casouri@gmail.com>
Mon, 26 Dec 2022 09:47:55 +0000
(
01:47
-0800)
doc/lispref/parsing.texi
patch
|
blob
|
history
diff --git
a/doc/lispref/parsing.texi
b/doc/lispref/parsing.texi
index 3744cf0b985c380969e0852f868830faca29dfad..4b9cd18dd47064985063cea97fe76291467ed2a5 100644
(file)
--- a/
doc/lispref/parsing.texi
+++ b/
doc/lispref/parsing.texi
@@
-643,6
+643,10
@@
it, or query for information about this node.
@defun treesit-node-parent node
This function returns the immediate parent of @var{node}.
+
+If @var{node} is more than 1000 levels deep in a parse tree, the
+return value is undefined. Currently it returns @var{nil}, but that
+could change in the future.
@end defun
@defun treesit-node-child node n &optional named