More reliable doom/popup-save macro
This commit is contained in:
parent
9c2e59e231
commit
ea2372f025
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ window. Returns nil or the popup window."
|
||||||
`(let ((popup-p (doom/popups-p))
|
`(let ((popup-p (doom/popups-p))
|
||||||
(in-popup-p (doom/popup-p)))
|
(in-popup-p (doom/popup-p)))
|
||||||
(when popup-p
|
(when popup-p
|
||||||
(doom/popup-close-all t))
|
(doom/popup-close-all t)
|
||||||
|
(doom/popup-close nil t))
|
||||||
(prog1
|
(prog1
|
||||||
,@body
|
,@body
|
||||||
(when popup-p
|
(when popup-p
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue