]> git.eshelyaron.com Git - emacs.git/commit
Use treesit-node-match-p in treesit-parent-while
authorYuan Fu <casouri@gmail.com>
Tue, 6 Feb 2024 07:12:36 +0000 (23:12 -0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 7 Feb 2024 10:54:30 +0000 (11:54 +0100)
commitc709e03fa510c5b76465f93eaac70f11d83adc73
treefba9c56bb24c4b12f569612113444870f24ebf94
parent083d20f5b0208149c89525c58ecc2f9e843b258c
Use treesit-node-match-p in treesit-parent-while

The previous commit should've done this, but I missed it.

* lisp/treesit.el (treesit-parent-while): Use treesit-node-match-p.

(cherry picked from commit cebd26b2e16d75a939e2a9f91becc6ec702122a7)
lisp/treesit.el