More reliable doom/popup-save macro

This commit is contained in:
Henrik Lissner 2017-01-07 23:27:30 -05:00
parent 9c2e59e231
commit ea2372f025

View file

@ -49,7 +49,8 @@ window. Returns nil or the popup window."
`(let ((popup-p (doom/popups-p))
(in-popup-p (doom/popup-p)))
(when popup-p
(doom/popup-close-all t))
(doom/popup-close-all t)
(doom/popup-close nil t))
(prog1
,@body
(when popup-p