aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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