From: Yuan Fu Date: Sun, 25 Dec 2022 18:38:05 +0000 (-0800) Subject: ; * doc/lispref/parsing.texi (Retrieving Nodes): Add notice. X-Git-Tag: emacs-29.0.90~984 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2bcd1e9a99d5b1b67205d2cb914c98068104b83f;p=emacs.git ; * doc/lispref/parsing.texi (Retrieving Nodes): Add notice. --- diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi index 3744cf0b985..4b9cd18dd47 100644 --- 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