core-popups: properly persist popup rules between sessions

This commit is contained in:
Henrik Lissner 2017-05-14 16:49:46 +02:00
parent f80bef8d42
commit 806f856cb6
2 changed files with 2 additions and 2 deletions

View file

@ -115,8 +115,7 @@ for :align t on every rule."
;; Tell `window-state-get' and `current-window-configuration' to recognize these
;; custom parameters. Helpful for `persp-mode' and persisting window configs
;; that have popups in them.
(push (cons 'no-other-window 'writable) window-persistent-parameters)
(dolist (param doom-popup-window-parameters)
(dolist (param (cons 'popup doom-popup-window-parameters))
(push (cons param 'writable) window-persistent-parameters))
(defvar doom-popup-mode-map