diff options
| author | Eli Zaretskii | 2023-04-15 13:02:25 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2023-04-15 13:02:25 +0300 |
| commit | 6ffde7006325c29ccfc7296d48888efff2fea0ae (patch) | |
| tree | b539abe4ecdc89a2cb45b16dfd628ced3e3c3cf4 | |
| parent | 112858c40f52411932f79cf997795c54d54717c6 (diff) | |
| download | emacs-6ffde7006325c29ccfc7296d48888efff2fea0ae.tar.gz emacs-6ffde7006325c29ccfc7296d48888efff2fea0ae.zip | |
; * lisp/treesit.el (treesit-node-top-level): Fix typo.
| -rw-r--r-- | lisp/treesit.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/treesit.el b/lisp/treesit.el index b03ab0484a8..ed7ad280684 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el | |||
| @@ -248,7 +248,7 @@ type as it. If no such parent exists, return nil. | |||
| 248 | 248 | ||
| 249 | If PRED is non-nil, match each parent's type with PRED rather | 249 | If PRED is non-nil, match each parent's type with PRED rather |
| 250 | than using NODE's type. PRED can also be a predicate function, | 250 | than using NODE's type. PRED can also be a predicate function, |
| 251 | and more. See `treesit-thing-settings' for detail. | 251 | and more. See `treesit-thing-settings' for details. |
| 252 | 252 | ||
| 253 | If INCLUDE-NODE is non-nil, return NODE if it satisfies PRED." | 253 | If INCLUDE-NODE is non-nil, return NODE if it satisfies PRED." |
| 254 | (let ((pred (or pred (rx-to-string | 254 | (let ((pred (or pred (rx-to-string |