diff options
| author | Juri Linkov | 2025-04-17 09:49:04 +0300 |
|---|---|---|
| committer | Juri Linkov | 2025-04-17 09:49:04 +0300 |
| commit | ee46b6c4e67aa52b4ef683c5c16f64638e369cd3 (patch) | |
| tree | 6827c745e0ea652a73ed430adccdcca6aa493fd1 /java/res/xml | |
| parent | 2925ff6c5383408fa6ad780066469970aa833d38 (diff) | |
| download | emacs-ee46b6c4e67aa52b4ef683c5c16f64638e369cd3.tar.gz emacs-ee46b6c4e67aa52b4ef683c5c16f64638e369cd3.zip | |
Use the first parser from 'treesit-parser-list' to fix tests.
* lisp/treesit.el (treesit-parsers-at): Add treesit-primary-parser
only when it's non-nil. When the result list is still empty,
add the first parser from 'treesit-parser-list'.
https://lists.gnu.org/archive/html/emacs-devel/2025-04/msg00627.html
* test/src/treesit-tests.el (treesit-node-supplemental)
(treesit-node-at, treesit-node-check)
(treesit-search-subtree-forward-1)
(treesit-search-subtree-backward-1): Wrap test body in 'with-temp-buffer'.
Diffstat (limited to 'java/res/xml')
0 files changed, 0 insertions, 0 deletions