]> git.eshelyaron.com Git - emacs.git/commit
Fix treesit.el tests
authorYuan Fu <casouri@gmail.com>
Sat, 18 Jan 2025 02:24:45 +0000 (18:24 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sat, 18 Jan 2025 22:03:13 +0000 (23:03 +0100)
commitd10e405b7785eb6d341495eca978953f57c929a3
tree75a7bd344bfee69f4ad2556fc9149a4c44e22356
parent57416f54f0030837d8f79cdfcda905dc6c44ed31
Fix treesit.el tests

* lisp/treesit.el (treesit--imenu-merge-entries):
(Ftreesit_parser_set_included_ranges): Warn in the docstring
that the function is destructive/owns the argument.
* test/src/treesit-tests.el (treesit-range-fixup-after-edit):
(treesit-imenu): Fix tests.

(cherry picked from commit fae424aba97163738f6666ebec1351ceff4b5b2b)
lisp/treesit.el
src/treesit.c
test/src/treesit-tests.el