core-popups: read rules from local var

This commit is contained in:
Henrik Lissner 2017-05-14 14:36:49 +02:00
parent 17409e174d
commit 1ab5f86188
2 changed files with 2 additions and 2 deletions

View file

@ -230,7 +230,7 @@ properties."
(when (doom-popup-p window)
(when doom-popup-remember-history
(setq doom-popup-history (list (doom--popup-data window))))
(let ((autokill-p (window-parameter window :autokill)))
(let ((autokill-p (plist-get doom-popup-rules :autokill)))
(with-selected-window window
(doom-popup-mode -1)
(when autokill-p