]> git.eshelyaron.com Git - emacs.git/commit
Fix treesit_ensure_parsed (bug#62333)
authorYuan Fu <casouri@gmail.com>
Fri, 24 Mar 2023 07:17:10 +0000 (00:17 -0700)
committerYuan Fu <casouri@gmail.com>
Fri, 24 Mar 2023 07:18:19 +0000 (00:18 -0700)
commit33d436eefa16dfd4cf53bd53fdd764b2896c649c
treeab1488544e46042b45df8cf35dd3ab95b3dd15fb
parentd93a439846f03dfb2be28d6b5c2e963ef6be0c22
Fix treesit_ensure_parsed (bug#62333)

* src/treesit.c (treesit_ensure_parsed): Check for need_reparse after
treesit_sync_visible_region runs, because as the comment says,
treesit_sync_visible_region might modify need_reparse.
src/treesit.c