]> git.eshelyaron.com Git - emacs.git/commit
Fix regression of treesit_cursor_helper_1
authorYuan Fu <casouri@gmail.com>
Mon, 11 Sep 2023 19:47:32 +0000 (12:47 -0700)
committerYuan Fu <casouri@gmail.com>
Mon, 11 Sep 2023 19:50:31 +0000 (12:50 -0700)
commit33ee3e588fd9744714f1c0ab64de75a61db5eaca
tree8d12b81e9a6ef27f3af59e68ece33aa6d064d438
parentd11d81dfcc6b50a8e889789e2d4696af1a544f7f
Fix regression of treesit_cursor_helper_1

* src/treesit.c (treesit_cursor_helper_1)
(treesit_cursor_first_child_for_byte): Use
ts_tree_cursor_goto_first_child_for_byte first, and
ts_tree_cursor_goto_first_child second.
src/treesit.c