diff options
| author | Yuan Fu | 2022-10-10 11:56:12 -0700 |
|---|---|---|
| committer | Yuan Fu | 2022-10-10 11:57:24 -0700 |
| commit | 1bb7b43e1cfb911737bc4807671910238277470f (patch) | |
| tree | 89e45044b83b882e5f8d849662b144e624651903 /src/alloc.c | |
| parent | c8909fa3688aca164e4fd38f6293c4a201e148eb (diff) | |
| download | emacs-1bb7b43e1cfb911737bc4807671910238277470f.tar.gz emacs-1bb7b43e1cfb911737bc4807671910238277470f.zip | |
Make treesit-node-at faster
* lisp/treesit.el (treesit-node-at): We only need to use
treesit-node-first-child-for-pos. This is both faster for large
buffers and simpler. Also remove the TODO comment.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions