]> git.eshelyaron.com Git - emacs.git/commit
Allow passing nil to treesit-node-match-p (bug#74612)
authorYuan Fu <casouri@gmail.com>
Sat, 30 Nov 2024 00:33:28 +0000 (16:33 -0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Dec 2024 17:02:23 +0000 (18:02 +0100)
commitdd0658f0c246492f515cd9e1e30615103d17d3c3
tree4b23ba97f220f934368dd59a661b60dd62909012
parent8c7013a67ee256c63e9d16208e6fc24356540eb8
Allow passing nil to treesit-node-match-p (bug#74612)

* src/treesit.c (Ftreesit_node_match_p): Return nil if NODE is nil.

(cherry picked from commit 3c7687c1dd136fa535e22262f78fdfadbbf73105)
src/treesit.c