diff options
| author | Eli Zaretskii | 2025-06-06 10:00:20 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2025-06-06 10:00:20 +0300 |
| commit | 8fdb2d19b495e392f47046513e05c8992fee2b4c (patch) | |
| tree | 4ac686d1d2c0a93113f9b6879105317628c1a46b | |
| parent | 41f8dc18dfdb003dbcd27f619960f2533a02fde2 (diff) | |
| download | emacs-8fdb2d19b495e392f47046513e05c8992fee2b4c.tar.gz emacs-8fdb2d19b495e392f47046513e05c8992fee2b4c.zip | |
; * lisp/treesit.el (treesit-beginning-of-defun): Doc fix (bug#78703).
| -rw-r--r-- | lisp/treesit.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/treesit.el b/lisp/treesit.el index 2b5989fcaee..512e82375f1 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el | |||
| @@ -2479,7 +2479,10 @@ This is a tree-sitter equivalent of `beginning-of-defun'. | |||
| 2479 | Behavior of this function depends on `treesit-defun-type-regexp' | 2479 | Behavior of this function depends on `treesit-defun-type-regexp' |
| 2480 | and `treesit-defun-skipper'. If `treesit-defun-type-regexp' is | 2480 | and `treesit-defun-skipper'. If `treesit-defun-type-regexp' is |
| 2481 | not set, Emacs also looks for definition of defun in | 2481 | not set, Emacs also looks for definition of defun in |
| 2482 | `treesit-thing-settings'." | 2482 | `treesit-thing-settings'. |
| 2483 | |||
| 2484 | Whether this goes to the innermost nested defun or a top-level | ||
| 2485 | one is determined by the value of `treesit-defun-tactic'." | ||
| 2483 | (interactive "^p") | 2486 | (interactive "^p") |
| 2484 | (or (not (eq this-command 'treesit-beginning-of-defun)) | 2487 | (or (not (eq this-command 'treesit-beginning-of-defun)) |
| 2485 | (eq last-command 'treesit-beginning-of-defun) | 2488 | (eq last-command 'treesit-beginning-of-defun) |