]> git.eshelyaron.com Git - emacs.git/commit
Add treesit_assume_true and treesit_cursor_helper
authorYuan Fu <casouri@gmail.com>
Sat, 17 Dec 2022 22:59:01 +0000 (14:59 -0800)
committerYuan Fu <casouri@gmail.com>
Sat, 17 Dec 2022 23:33:54 +0000 (15:33 -0800)
commita275e436df438806a5a4f8c57423085a7147eb0a
tree19bac0d3d9ecea0cdc46a116baf8ba3cd5a2d102
parenta54c7a8df0ce08c1799bee48dca5e6a022fa0228
Add treesit_assume_true and treesit_cursor_helper

This is part 1 of the change to change node API to cursor API.  See
the second part for more detail.  (I splitted the change to make the
diff more sane.)

* src/treesit.c (treesit_assume_true)
(treesit_cursor_helper): New functions.
src/treesit.c