]> git.eshelyaron.com Git - emacs.git/commitdiff
; Minor fix in tree-sitter manual section
authorYuan Fu <casouri@gmail.com>
Tue, 16 Apr 2024 06:13:20 +0000 (23:13 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sat, 20 Apr 2024 11:09:34 +0000 (14:09 +0300)
* doc/lispref/parsing.texi (User-defined Things): Mention
treesit-defun-type-regexp.

(cherry picked from commit 8166d9d1747648d1f457195090ad36dd333bbc52)

doc/lispref/parsing.texi

index 55ba10bb41b98e6d9b37ef58b3dbedd13e5cdb9c..5fd1eaaa57ebae52ea9a4727e6ad7b83772aeb97 100644 (file)
@@ -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