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:
parent
aa9851bd50
commit
4fe24df90f
2 changed files with 1 additions and 8 deletions
|
@ -181,8 +181,7 @@ and enables `+popup-buffer-mode'."
|
||||||
(let ((window (or window (selected-window))))
|
(let ((window (or window (selected-window))))
|
||||||
(and (windowp window)
|
(and (windowp window)
|
||||||
(window-live-p window)
|
(window-live-p window)
|
||||||
(or (window-parameter window 'popup)
|
(window-parameter window 'popup)
|
||||||
(window-parameter window 'no-other-window))
|
|
||||||
window))))
|
window))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
|
@ -8,12 +8,6 @@
|
||||||
|
|
||||||
|
|
||||||
(after! treemacs
|
(after! treemacs
|
||||||
(set-popup-rule! "^ \\*Treemacs"
|
|
||||||
:side treemacs-position
|
|
||||||
:size treemacs-width
|
|
||||||
:quit nil
|
|
||||||
:ttl 0)
|
|
||||||
|
|
||||||
;; Don't follow the cursor
|
;; Don't follow the cursor
|
||||||
(treemacs-follow-mode -1)
|
(treemacs-follow-mode -1)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue