]> git.eshelyaron.com Git - emacs.git/commit
Improve treesit-search-forward-goto
authorYuan Fu <casouri@gmail.com>
Sun, 25 Sep 2022 03:42:03 +0000 (20:42 -0700)
committerYuan Fu <casouri@gmail.com>
Sun, 25 Sep 2022 04:11:31 +0000 (21:11 -0700)
commitef6e18a6b9ab103f3f076b35100d09cff1687396
tree3ac856f7c8f778ec4f344b55db3de9c15e0e9fcf
parenta31538ea5b006c3901ab85354725993b689a259d
Improve treesit-search-forward-goto

* doc/lispref/parsing.texi (Retrieving Node): Update manual.
* lisp/treesit.el (treesit-search-forward-goto): Instead of taking a
node, use the node at point, and make sure we make progress.
doc/lispref/parsing.texi
lisp/treesit.el