]> git.eshelyaron.com Git - emacs.git/commit
Add depth control for treesit traverse functions
authorYuan Fu <casouri@gmail.com>
Mon, 13 Jun 2022 20:48:24 +0000 (13:48 -0700)
committerYuan Fu <casouri@gmail.com>
Mon, 13 Jun 2022 21:20:40 +0000 (14:20 -0700)
commitc62473c31ab7dc70fc9c940f93b9217a7d16e7fc
treecf404f656ec052809b7c85117dae63128ef067f8
parenta73f2b9990465820d80c58ed25208b72731d410d
Add depth control for treesit traverse functions

* lisp/treesit.el (treesit-traverse-depth-first,
treesit-traverse-forward): Add depth parameter.
(treesit-search-forward, treesit-search-beginning,
treesit-search-end): Add up-only parameter.
lisp/treesit.el