Fix :autokill popup property not being respected

This commit is contained in:
Henrik Lissner 2017-09-26 20:28:47 +02:00
parent cf7b27f4eb
commit ee1e9a853c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

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