]> git.eshelyaron.com Git - emacs.git/commit
Fix tree-sitter parser notifier recursion
authorYuan Fu <casouri@gmail.com>
Wed, 28 Dec 2022 23:19:34 +0000 (15:19 -0800)
committerYuan Fu <casouri@gmail.com>
Wed, 28 Dec 2022 23:19:34 +0000 (15:19 -0800)
commitec6feeaa19117deb0d60e97ad814b87ecbb7fa99
treef4663ffde848f6e1f8d64128aa5a86eb92af5400
parentdb96b1282f90ee40560f81e8b715fe785badbb6e
Fix tree-sitter parser notifier recursion

See the comment for detail.

* src/treesit.c (treesit_ensure_parsed): Move the need_reparse short
circuit to the very beginning.  Move the call to
treesit_call_after_change_functions to the very end.
src/treesit.c