1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-13 11:12:19 -08:00

; * lisp/treesit.el (treesit-node-top-level): Fix typo.

This commit is contained in:
Eli Zaretskii 2023-04-15 13:02:25 +03:00
parent 112858c40f
commit 6ffde70063

View file

@ -248,7 +248,7 @@ type as it. If no such parent exists, return nil.
If PRED is non-nil, match each parent's type with PRED rather
than using NODE's type. PRED can also be a predicate function,
and more. See `treesit-thing-settings' for detail.
and more. See `treesit-thing-settings' for details.
If INCLUDE-NODE is non-nil, return NODE if it satisfies PRED."
(let ((pred (or pred (rx-to-string