]> git.eshelyaron.com Git - emacs.git/commit
Rename PRED to THING in tree-sitter navigation functions
authorYuan Fu <casouri@gmail.com>
Sat, 2 Sep 2023 00:37:46 +0000 (17:37 -0700)
committerYuan Fu <casouri@gmail.com>
Sat, 2 Sep 2023 03:38:31 +0000 (20:38 -0700)
commited152ccd1d69dbd53bcf4ba32da788753d0ea2e2
tree5d7a50fd3eb3d23f3f41867abb58775802857998
parent452697a81ab330d5fe7b4b4ece3acfddd5330a72
Rename PRED to THING in tree-sitter navigation functions

The primary way to use these functions should be to supply a thing
symbol. Change the parameter name to THING to reflect that.

* lisp/treesit.el (treesit-beginning-of-thing)
(treesit-end-of-thing)
(treesit--things-around)
(treesit--navigate-thing)
(treesit-thing-at-point): Change parameter.
lisp/treesit.el