Fix void-function treemacs-current-visibility

This commit is contained in:
Henrik Lissner 2020-05-03 16:30:52 -04:00
parent 0904ee406f
commit 87fe822515
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -9,6 +9,7 @@ been removed.
Use `treemacs' command for old functionality."
(interactive)
(require 'treemacs)
(pcase (treemacs-current-visibility)
(`visible (delete-window (treemacs-get-local-window)))
(_ (if (doom-project-p)