]> git.eshelyaron.com Git - emacs.git/commit
Use cursor API in treesit-node-parent
authorYuan Fu <casouri@gmail.com>
Sat, 17 Dec 2022 23:14:02 +0000 (15:14 -0800)
committerYuan Fu <casouri@gmail.com>
Sat, 17 Dec 2022 23:33:54 +0000 (15:33 -0800)
commit1fc7535546c0ae42872e9c9d3aa6d6bfba849482
tree12c917c534f38f4df62060ccb5a0d0f2070f8b06
parent5f0286c0afa9811e8042911b738a452c1e632c9d
Use cursor API in treesit-node-parent

This is the last part of the change that fixes bug#60054.  The
previous change fixes it for searching functions, this fixes for
treesit-node-parent.

* src/treesit.c (Ftreesit_node_parent): Use the new cursor API.
src/treesit.c