doom-popup-prop => doom-popup-property

Also, new doom-popup-properties function.
This commit is contained in:
Henrik Lissner 2017-09-24 20:45:21 +02:00
parent 65d758ce8f
commit 3dca6d8028
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 17 additions and 11 deletions

View file

@ -330,7 +330,7 @@ properties."
"If current window is a popup, close it. If minibuffer is open, close it. If
not in a popup, close all popups with an :autoclose property."
(cond ((doom-popup-p)
(unless (doom-popup-prop :noesc)
(unless (doom-popup-property :noesc)
(delete-window)))
(t
(doom/popup-close-all))))