]> git.eshelyaron.com Git - emacs.git/commit
* lisp/treesit.el (treesit-node-at): Remove argument LARGEST.
authorYuan Fu <casouri@gmail.com>
Mon, 24 Oct 2022 01:54:12 +0000 (18:54 -0700)
committerYuan Fu <casouri@gmail.com>
Mon, 24 Oct 2022 01:54:37 +0000 (18:54 -0700)
commit6203b9db347d2d002c0cb660d5b4daeea54bf3ad
tree6241251607b2b1861b09680bc869c5e6ecec0a0e
parent1787e651d376486909e736478b1be92c949a368d
* lisp/treesit.el (treesit-node-at): Remove argument LARGEST.

LARGEST returns the root node at BOB, finding the smallest node at
point and search upward is a better practice.
lisp/treesit.el