diff options
| author | Yuan Fu | 2025-01-14 23:32:48 -0800 |
|---|---|---|
| committer | Yuan Fu | 2025-01-17 17:27:23 -0800 |
| commit | 814b45775ffcfa91c03fb54b78611eb97973c387 (patch) | |
| tree | 9090d518b3f328dda22d3940b67fc0c837d1da34 /src | |
| parent | d3a2ec5210746a942263d5e18ee3b8190b9698e1 (diff) | |
| download | emacs-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