aboutsummaryrefslogtreecommitdiffstats
path: root/java/org/gnu
diff options
context:
space:
mode:
authorYuan Fu2023-09-11 20:59:50 -0700
committerYuan Fu2023-09-12 13:16:41 -0700
commitb392d05089014ac6d41e35a016d46f496964f879 (patch)
treeb8d33e942360b287c768eae7b6a1274862f8fa70 /java/org/gnu
parentfad91b56d13e7bc902cce522671ebf47b0632d45 (diff)
downloademacs-b392d05089014ac6d41e35a016d46f496964f879.tar.gz
emacs-b392d05089014ac6d41e35a016d46f496964f879.zip
Make sure undefined tree-sitter thing doesn't raise an error
A previous change should've achived this, but that wasn't enough. This one actually achieves the intended effect, namely, treesit-node-match-p doesn't raise an error if IGNORE-MISSING is non-nil, and traverse functions don't raise error by default. * src/treesit.c (treesit_traverse_validate_predicate): Remove ignore_missing parameter, return error symbol. (Ftreesit_node_match_p) (Ftreesit_search_subtree) (Ftreesit_search_forward) (Ftreesit_induce_sparse_tree): Check returned error symbol. (syms_of_treesit): New symbol.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions