diff options
| -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 |