]> git.eshelyaron.com Git - emacs.git/commit
Fix call to treesit_record_change in insdel.c
authorYuan Fu <casouri@gmail.com>
Thu, 26 Jan 2023 07:12:41 +0000 (23:12 -0800)
committerYuan Fu <casouri@gmail.com>
Thu, 26 Jan 2023 07:14:35 +0000 (23:14 -0800)
commit4bd06ce2a9fa1601aff5a5fcab7411e5fce20d28
treee8cc5e8fceeb3dd44a748fa85fc6a1176f360f4f
parent00675aa724a6e18d03c2ccc63269ef03c67086ec
Fix call to treesit_record_change in insdel.c

The start position of the change shouldn't be PT_BYTE, IIUC PT_BYTE is
actually the end position.

* src/insdel.c (insert_from_buffer): Move to here.
(insert_from_buffer_1): Remove call to treesit_record_change.
src/insdel.c