bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#74612: 30.0.90; [PATCH] Allow passing nil to treesit-node-match-p


From: Eli Zaretskii
Subject: bug#74612: 30.0.90; [PATCH] Allow passing nil to treesit-node-match-p
Date: Sat, 30 Nov 2024 09:22:28 +0200

> From: Yuan Fu <casouri@gmail.com>
> Date: Fri, 29 Nov 2024 16:38:22 -0800
> 
> Eli, are you ok with this patch on emacs-30? Almost all tree-sitter node 
> functions allows user to pass nil for NODE, so treesit-node-match-p should 
> too.

Does this solve an actual problem you've seen somewhere (and if so,
which problem), or does it solve a potential problem that didn't
actually happen yet?

Also, does CHECK_TS_NODE allow nil or does it currently signal an
error?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]