From 4617591c3dc66ec986af1cd6d811c6bd2fe9fd26 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Mon, 15 Apr 2024 23:13:20 -0700 Subject: [PATCH] ; Minor fix in tree-sitter manual section * doc/lispref/parsing.texi (User-defined Things): Mention treesit-defun-type-regexp. (cherry picked from commit 8166d9d1747648d1f457195090ad36dd333bbc52) --- doc/lispref/parsing.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi index 55ba10bb41b..5fd1eaaa57e 100644 --- a/doc/lispref/parsing.texi +++ b/doc/lispref/parsing.texi @@ -1662,11 +1662,11 @@ thing, @code{treesit-end-of-thing} moves to the end of a thing, and @code{treesit-thing-at-point} returns the thing at point. There are also defun commands that specifically use the @code{defun} -definition, like @code{treesit-beginning-of-defun}, -@code{treesit-end-of-defun}, and @code{treesit-defun-at-point}. In -addition, these functions use @var{treesit-defun-tactic} as the -navigation tactic. They are described in more detail in other sections -(@pxref{Tree-sitter Major Modes}). +definition (as a fallback of @var{treesit-defun-type-regexp}), like +@code{treesit-beginning-of-defun}, @code{treesit-end-of-defun}, and +@code{treesit-defun-at-point}. In addition, these functions use +@var{treesit-defun-tactic} as the navigation tactic. They are described +in more detail in other sections (@pxref{Tree-sitter Major Modes}). @node Multiple Languages @section Parsing Text in Multiple Languages -- 2.39.5