General refactor & docstring updates

This commit is contained in:
Henrik Lissner 2017-10-05 16:17:52 +02:00
parent 11dc929355
commit cd7ab060e0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 17 additions and 27 deletions

View file

@ -215,8 +215,7 @@ not in a popup, close all popups with an :autoclose property."
(cond ((doom-popup-p)
(unless (doom-popup-property :noesc)
(delete-window)))
(t
(doom/popup-close-all))))
(t (doom/popup-close-all))))
(add-hook '+evil-esc-hook #'doom|popup-close-maybe t)
;; Make evil-mode cooperate with popups