From 9ac242ce93d7c4fbc34b556f4fa0d2ac2ebac604 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 10 Feb 2023 14:14:05 +0200 Subject: [PATCH] ; Fix recent changes in treesit docs * doc/lispref/parsing.texi (Accessing Node Information): Fix wording and indexing, and add cross-reference. --- doc/lispref/parsing.texi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi index b22b3eb25c3..fd65fa3e75b 100644 --- a/doc/lispref/parsing.texi +++ b/doc/lispref/parsing.texi @@ -970,15 +970,15 @@ A node ``has error'' if the text it spans contains a syntax error. It can be that the node itself has an error, or one of its descendants has an error. -@cindex tree-sitter live node +@cindex tree-sitter, live parsing node @cindex live node, tree-sitter -A node is ``live'' if its parser is not deleted, and the buffer it -belongs to is live. +A node is considered @dfn{live} if its parser is not deleted, and the +buffer to which it belongs to is a live buffer (@pxref{Killing Buffers}). @defun treesit-node-check node property -This function checks if @var{node} has the specified @var{property}. -@var{property} can be @code{named}, @code{missing}, @code{extra}, -@code{outdated}, @code{has-error}, or @code{live}. +This function returns non-@code{nil} if @var{node} has the specified +@var{property}. @var{property} can be @code{named}, @code{missing}, +@code{extra}, @code{outdated}, @code{has-error}, or @code{live}. @end defun @defun treesit-node-type node -- 2.39.2