core-popups: read rules from local var
This commit is contained in:
parent
17409e174d
commit
1ab5f86188
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue