feature/popup: fix +popup/toggle

This commit is contained in:
Henrik Lissner
2018-01-06 04:42:54 -05:00
parent 45bc438c37
commit f087f731ef

View File

@ -268,7 +268,7 @@ This window parameter is ignored if FORCE-P is non-nil."
the message buffer in a popup window."
(interactive)
(cond ((+popup-windows)
(+popup/close-all))
(+popup/close-all t))
((ignore-errors (+popup/restore)))
((display-buffer (get-buffer "*Messages*")))))