Function: treesit-explore-quit

treesit-explore-quit is an interactive and byte-compiled function defined in treesit.el.gz.

Signature

(treesit-explore-quit)

Documentation

Quit and clean up treesit-explore-mode(var)/treesit-explore-mode(fun).

Invoke this command from the source buffer or its tree buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/treesit.el.gz
(defun treesit-explore-quit ()
  "Quit and clean up `treesit-explore-mode'.
Invoke this command from the source buffer or its tree buffer."
  (interactive)
  ;; Called from the source buffer.
  (when (buffer-live-p treesit--explorer-buffer)
    (treesit-explore-mode -1))
  (treesit--explorer-tree-mode-cleanup))