mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-09 07:40:39 -08:00
; * lisp/treesit.el (treesit-beginning-of-defun): Doc fix (bug#78703).
This commit is contained in:
parent
41f8dc18df
commit
8fdb2d19b4
1 changed files with 4 additions and 1 deletions
|
|
@ -2479,7 +2479,10 @@ This is a tree-sitter equivalent of `beginning-of-defun'.
|
||||||
Behavior of this function depends on `treesit-defun-type-regexp'
|
Behavior of this function depends on `treesit-defun-type-regexp'
|
||||||
and `treesit-defun-skipper'. If `treesit-defun-type-regexp' is
|
and `treesit-defun-skipper'. If `treesit-defun-type-regexp' is
|
||||||
not set, Emacs also looks for definition of defun in
|
not set, Emacs also looks for definition of defun in
|
||||||
`treesit-thing-settings'."
|
`treesit-thing-settings'.
|
||||||
|
|
||||||
|
Whether this goes to the innermost nested defun or a top-level
|
||||||
|
one is determined by the value of `treesit-defun-tactic'."
|
||||||
(interactive "^p")
|
(interactive "^p")
|
||||||
(or (not (eq this-command 'treesit-beginning-of-defun))
|
(or (not (eq this-command 'treesit-beginning-of-defun))
|
||||||
(eq last-command 'treesit-beginning-of-defun)
|
(eq last-command 'treesit-beginning-of-defun)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue