From 8aa04aac65ad286a06f05af374060d6c77d76189 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Mon, 13 Jun 2022 14:00:08 -0700 Subject: [PATCH] ; * lisp/treesit.el (treesit-defun-query): Improve docstring. --- lisp/treesit.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.39.5