; Fix typo in treesit-explore-mode
* lisp/treesit.el (treesit-explore-mode): We added the hook to kill-buffer-hook, so make sure to remove it from kill-buffer-hook, not post-command-hook.
This commit is contained in:
parent
921f454f50
commit
55f43f5b22
1 changed files with 1 additions and 1 deletions
|
@ -3601,7 +3601,7 @@ window."
|
|||
;; Turn off explore mode.
|
||||
(remove-hook 'post-command-hook
|
||||
#'treesit--explorer-post-command t)
|
||||
(remove-hook 'post-command-hook
|
||||
(remove-hook 'kill-buffer-hook
|
||||
#'treesit--explorer-kill-explorer-buffer t)
|
||||
(treesit--explorer-kill-explorer-buffer)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue