diff options
| author | Eli Zaretskii | 2022-12-13 16:01:13 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2022-12-13 16:01:13 +0200 |
| commit | c4b8bc90a8ed350000e2bc50f56513c7bdb539e1 (patch) | |
| tree | 8f6df383aa24eb4ae3bf77b7e74a4338febc2a13 /lisp | |
| parent | c45eb138451c10fa8122820d9615c80a2caeede2 (diff) | |
| download | emacs-c4b8bc90a8ed350000e2bc50f56513c7bdb539e1.tar.gz emacs-c4b8bc90a8ed350000e2bc50f56513c7bdb539e1.zip | |
; Fix typos in doc strings
* lisp/treesit.el (treesit-defun-tactic)
(treesit-default-defun-skipper): Fix typos in doc strings.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/treesit.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/treesit.el b/lisp/treesit.el index 3d7ae7031ef..d404bc96327 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el | |||
| @@ -1579,7 +1579,7 @@ This is used by `treesit-beginning-of-defun' and friends.") | |||
| 1579 | 1579 | ||
| 1580 | (defvar-local treesit-defun-tactic 'nested | 1580 | (defvar-local treesit-defun-tactic 'nested |
| 1581 | "Determines how does Emacs treat nested defuns. | 1581 | "Determines how does Emacs treat nested defuns. |
| 1582 | If the value is `top-level', Emacs only move across top-level | 1582 | If the value is `top-level', Emacs only moves across top-level |
| 1583 | defuns, if the value is `nested', Emacs recognizes nested defuns.") | 1583 | defuns, if the value is `nested', Emacs recognizes nested defuns.") |
| 1584 | 1584 | ||
| 1585 | (defvar-local treesit-defun-skipper #'treesit-default-defun-skipper | 1585 | (defvar-local treesit-defun-skipper #'treesit-default-defun-skipper |
| @@ -1658,7 +1658,7 @@ ARG is the same as in `beginning-of-defun'." | |||
| 1658 | 1658 | ||
| 1659 | (defun treesit-default-defun-skipper () | 1659 | (defun treesit-default-defun-skipper () |
| 1660 | "Skips spaces after navigating a defun. | 1660 | "Skips spaces after navigating a defun. |
| 1661 | This fucntion tries to move to the beginning of a line, either by | 1661 | This function tries to move to the beginning of a line, either by |
| 1662 | moving to the empty newline after a defun, or to the beginning of | 1662 | moving to the empty newline after a defun, or to the beginning of |
| 1663 | the current line if the beginning of the defun is indented." | 1663 | the current line if the beginning of the defun is indented." |
| 1664 | (cond ((and (looking-at (rx (* (or " " "\\t")) "\n")) | 1664 | (cond ((and (looking-at (rx (* (or " " "\\t")) "\n")) |