]> git.eshelyaron.com Git - emacs.git/commit
Fix treesit-explore-mode (bug#66431)
authorYuan Fu <casouri@gmail.com>
Sun, 22 Oct 2023 03:34:07 +0000 (20:34 -0700)
committerYuan Fu <casouri@gmail.com>
Sun, 22 Oct 2023 03:39:30 +0000 (20:39 -0700)
commit491ee428c083038a8949f998fb4dd0c9ebb36895
tree488830c24df60156770a11721f68b4af5414d352
parentee043a2703d3175a7745c111146aa19a13f8e0ba
Fix treesit-explore-mode (bug#66431)

* lisp/treesit.el (treesit-explore-mode): Reset
treesit--explorer-last-node before calling treesit--explorer-refresh,
so that in the rare case described in the bug report, the explorer
buffer don't show the outdated node.
lisp/treesit.el