]> git.eshelyaron.com Git - emacs.git/commit
Handle deleted parser in treesit-explore-mode (bug#76398)
authorYuan Fu <casouri@gmail.com>
Tue, 11 Mar 2025 08:15:20 +0000 (01:15 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Mar 2025 18:58:45 +0000 (19:58 +0100)
commita8808e8a3d4c593fcf14107e2cab453834595fa5
treec97eff594fb3be6376fc9f17a29042db103f5fa9
parent45b28a7ebd9c7f6e09849b2c173345954b02c8ef
Handle deleted parser in treesit-explore-mode (bug#76398)

(Unrelated to the topic of the bug, but mentioned in the
thread.)

* lisp/treesit.el (treesit--explorer-refresh-1): New function.
(treesit--explorer-refresh): Handle 'treesit-parser-deleted'
error.

(cherry picked from commit 0bcc67c8305aa649be54e036fbe475bb82ca3a8b)
lisp/treesit.el