]> git.eshelyaron.com Git - emacs.git/commit
Minor tree-sitter cleanups
authorBasil L. Contovounesios <contovob@tcd.ie>
Sat, 3 Jun 2023 10:25:05 +0000 (11:25 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Sat, 8 Jul 2023 16:05:05 +0000 (17:05 +0100)
commit8ffe8422c53e196787c6f404e4cadc7029a7fbd9
treebb18dd7b85cc4eb63fd85f6d44736323b4922732
parentac57358762b42a7f0d7f70ce55ed0e7c4b540d16
Minor tree-sitter cleanups

* lisp/treesit.el (treesit-fontify-with-override): Fix docstring
grammar.  Remove redundant precondition (bug#64052).
* src/treesit.c (Ftreesit_parser_set_included_ranges): Fix typo in
commentary.
(treesit_predicate_equal, treesit_predicate_match)
(treesit_predicate_pred): Avoid fixnum roundtrip by using
list_length in place of Flength.  Make error messages more accurate.
(treesit_eval_predicates): Quote predicate names in error message.
lisp/treesit.el
src/treesit.c