From 6ffde7006325c29ccfc7296d48888efff2fea0ae Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 15 Apr 2023 13:02:25 +0300 Subject: [PATCH] ; * lisp/treesit.el (treesit-node-top-level): Fix typo. --- lisp/treesit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. 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 -- 2.39.2