]> git.eshelyaron.com Git - emacs.git/commit
Fix treesit--merge-ranges (bug#73324)
authorYuan Fu <casouri@gmail.com>
Sat, 21 Sep 2024 03:40:26 +0000 (20:40 -0700)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Sep 2024 10:45:21 +0000 (12:45 +0200)
commitbfe497f4dd73ff198a3192e17b12131ea6b0af6d
treeaa3b845915f14c99560a4db2fdbd73104c84f6c1
parent3c6ee6e31a66ef9dc85cb4c9846ee0a974236293
Fix treesit--merge-ranges (bug#73324)

* lisp/treesit.el (treesit--merge-ranges): Make sure that old
ranges that intersects with START-END are actually discarded.
* test/src/treesit-tests.el (treesit-range-merge): New test.

(cherry picked from commit 0834106a6209833ab5f5c032cce857f39889d3d6)
lisp/treesit.el
test/src/treesit-tests.el