[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
- emacs-29 updated (2608e5edcc -> d90d7d15f2), Yuan Fu, 2022/12/26
- emacs-29 2bcd1e9a99 3/9: ; * doc/lispref/parsing.texi (Retrieving Nodes): Add notice.,
Yuan Fu <=
- emacs-29 7c7950fe00 2/9: Add maintainer stub for tree-sitter files, Yuan Fu, 2022/12/26
- emacs-29 c6b0282645 5/9: ; Remove unused function in c-ts-mode, Yuan Fu, 2022/12/26
- emacs-29 6e52a9fcad 4/9: ; * doc/lispref/modes.texi (Parser-based Font Lock): Minor fixes., Yuan Fu, 2022/12/26
- emacs-29 8f68b6497e 7/9: Clean up python-ts-mode font-lock features, Yuan Fu, 2022/12/26
- emacs-29 eb26872837 8/9: Fix imenu for c-ts-mode (bug#60296), Yuan Fu, 2022/12/26
- emacs-29 d90d7d15f2 9/9: ; Fix vindexes in parsing.texi, Yuan Fu, 2022/12/26
- emacs-29 cf32776622 1/9: ; * doc/lispref/parsing.texi (Using Parser): Remove deleted function., Yuan Fu, 2022/12/26
- emacs-29 28f26b11a1 6/9: Add comment indent and filling to other tree-sitter major modes, Yuan Fu, 2022/12/26