aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYuan Fu2025-01-14 23:32:48 -0800
committerYuan Fu2025-01-17 17:27:23 -0800
commit814b45775ffcfa91c03fb54b78611eb97973c387 (patch)
tree9090d518b3f328dda22d3940b67fc0c837d1da34 /src
parentd3a2ec5210746a942263d5e18ee3b8190b9698e1 (diff)
downloademacs-814b45775ffcfa91c03fb54b78611eb97973c387.tar.gz
emacs-814b45775ffcfa91c03fb54b78611eb97973c387.zip
Add treesit-query-first-valid
This should help major modes to support grammar versions. * doc/lispref/parsing.texi (Pattern Matching): Mention new function. * lisp/treesit.el (treesit-query-first-valid): New function. (treesit-query-valid-p): New function.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions