]> git.eshelyaron.com Git - emacs.git/commit
Don't signal error when calling treesit-node-match-p in treesit.el
authorYuan Fu <casouri@gmail.com>
Sat, 2 Sep 2023 02:27:07 +0000 (19:27 -0700)
committerYuan Fu <casouri@gmail.com>
Sat, 2 Sep 2023 03:38:32 +0000 (20:38 -0700)
commit7fc416d90b95c6014c5745a84069844eab1e6e33
tree44c28ea0b40f29b19c77dd4b8fcf7bd102b62bc0
parented152ccd1d69dbd53bcf4ba32da788753d0ea2e2
Don't signal error when calling treesit-node-match-p in treesit.el

Specifically, don't signal error when the thing isn't defined.

* lisp/treesit.el (treesit-node-top-level)
(treesit-forward-sentence)
(treesit--things-around): Add IGNORE-MISSING argument.
lisp/treesit.el