From: Yuan Fu Date: Mon, 13 Jun 2022 21:00:08 +0000 (-0700) Subject: ; * lisp/treesit.el (treesit-defun-query): Improve docstring. X-Git-Tag: emacs-29.0.90~1911^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8aa04aac65ad286a06f05af374060d6c77d76189;p=emacs.git ; * lisp/treesit.el (treesit-defun-query): Improve docstring. --- diff --git a/lisp/treesit.el b/lisp/treesit.el index 76101509e0d..d6d092ee6a2 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -964,7 +964,9 @@ the tree." (defvar-local treesit-defun-query nil "A tree-sitter query that matches function/class definitions. Capture names don't matter. This variable is used by navigation -functions like `treesit-beginning-of-defun'.") +functions like `treesit-beginning-of-defun'. + +See `treesit-query-in' for what a query should look like.") (defun treesit-beginning-of-defun (&optional arg) "Move backward to the beginning of a defun.