]> git.eshelyaron.com Git - emacs.git/commit
Make tree-sitter thing feature public and remove obsolete functions
authorYuan Fu <casouri@gmail.com>
Sun, 7 Apr 2024 20:33:31 +0000 (13:33 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 10 Apr 2024 20:28:03 +0000 (22:28 +0200)
commit87fd602e506f9613f789686084fb171399f1195f
treeac3e711c902e0d764c314bc8dab0db72e5f562ad
parent89ffa07d89bb59feddda9efaee759b9b527e24e9
Make tree-sitter thing feature public and remove obsolete functions

* lisp/treesit.el (treesit--things-around): Remove function.
(treesit-forward-sexp):
(treesit-beginning-of-thing):
(treesit-end-of-thing):
(treesit-navigate-thing):
(treesit-thing-at-point):
(treesit-outline-search): Use public version of thing-functions.
(treesit--thing-prev):
(treesit--thing-next):
(treesit--thing-at):
(treesit--navigate-thing): Make public.

* test/src/treesit-tests.el (treesit--ert-test-defun-navigation): Use
public version of thing-functions.

(cherry picked from commit 64854869ae0cacddb16926670e2a67c03a3f9618)
lisp/treesit.el
test/src/treesit-tests.el