emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 2bcd1e9a99 3/9: ; * doc/lispref/parsing.texi (Retrieving Nodes)


From: Yuan Fu
Subject: emacs-29 2bcd1e9a99 3/9: ; * doc/lispref/parsing.texi (Retrieving Nodes): Add notice.
Date: Mon, 26 Dec 2022 04:48:08 -0500 (EST)

branch: emacs-29
commit 2bcd1e9a99d5b1b67205d2cb914c98068104b83f
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    ; * doc/lispref/parsing.texi (Retrieving Nodes): Add notice.
---
 doc/lispref/parsing.texi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi
index 3744cf0b98..4b9cd18dd4 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]