Fix #1970: don't count treemacs as a "popup"

And remove its popup rule.

It isn't being caught by the popup system in the first place, so this is
all a charade.
This commit is contained in:
Henrik Lissner 2020-01-06 03:48:44 -05:00
parent aa9851bd50
commit 4fe24df90f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 1 additions and 8 deletions

View file

@ -181,8 +181,7 @@ and enables `+popup-buffer-mode'."
(let ((window (or window (selected-window))))
(and (windowp window)
(window-live-p window)
(or (window-parameter window 'popup)
(window-parameter window 'no-other-window))
(window-parameter window 'popup)
window))))
;;;###autoload

View file

@ -8,12 +8,6 @@
(after! treemacs
(set-popup-rule! "^ \\*Treemacs"
:side treemacs-position
:size treemacs-width
:quit nil
:ttl 0)
;; Don't follow the cursor
(treemacs-follow-mode -1)