aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-04-15 13:02:25 +0300
committerEli Zaretskii2023-04-15 13:02:25 +0300
commit6ffde7006325c29ccfc7296d48888efff2fea0ae (patch)
treeb539abe4ecdc89a2cb45b16dfd628ced3e3c3cf4
parent112858c40f52411932f79cf997795c54d54717c6 (diff)
downloademacs-6ffde7006325c29ccfc7296d48888efff2fea0ae.tar.gz
emacs-6ffde7006325c29ccfc7296d48888efff2fea0ae.zip
; * lisp/treesit.el (treesit-node-top-level): Fix typo.
-rw-r--r--lisp/treesit.el2
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
249If PRED is non-nil, match each parent's type with PRED rather 249If PRED is non-nil, match each parent's type with PRED rather
250than using NODE's type. PRED can also be a predicate function, 250than using NODE's type. PRED can also be a predicate function,
251and more. See `treesit-thing-settings' for detail. 251and more. See `treesit-thing-settings' for details.
252 252
253If INCLUDE-NODE is non-nil, return NODE if it satisfies PRED." 253If 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