summaryrefslogtreecommitdiff
path: root/admin/emacs-shell-lib
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2023-02-02 17:22:22 -0800
committerYuan Fu <casouri@gmail.com>2023-02-02 18:31:19 -0800
commit8a6bdf88b4b665916cf74dee3a30e9136a9b6df8 (patch)
tree8deeefbb73149fdf3e5efd4a80321be98f62127e /admin/emacs-shell-lib
parenta2b77c79dcca64b5e0ae58862206e7cc29640944 (diff)
downloademacs-8a6bdf88b4b665916cf74dee3a30e9136a9b6df8.tar.gz
emacs-8a6bdf88b4b665916cf74dee3a30e9136a9b6df8.tar.bz2
emacs-8a6bdf88b4b665916cf74dee3a30e9136a9b6df8.zip
Call treesit_record_change in insert_from_gap_1
Before this change, insert_from_gap calls treesit_record_change but insert_from_gap_1 doesn't. However, insert_from_gap_1 is a public function and is called in many other places outside of insdel.c. This could lead to tree-sitter's parse tree becoming out-of-sync with the buffer content. This change might fix bug#60650. * src/insdel.c (insert_from_gap_1): Call treesit_record_change. (insert_from_gap): Remove call to treesit_record_change. * admin/notes/tree-sitter/treesit_record_change: New file.
Diffstat (limited to 'admin/emacs-shell-lib')
0 files changed, 0 insertions, 0 deletions