Add doom-popup-inhibit-autokill variable

This commit is contained in:
Henrik Lissner 2017-09-24 20:44:17 +02:00
parent e6f892b115
commit 65d758ce8f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 11 additions and 3 deletions

View file

@ -93,7 +93,8 @@ Returns t if popups were restored, nil otherwise."
(select-window doom-popup-other-window)
(other-window 1)))
(if (doom-popup-windows)
(doom/popup-close-all t)
(let ((doom-popup-inhibit-autokill t))
(doom/popup-close-all t))
(doom/popup-restore)))
;;;###autoload