bugfix: only delete posframe if it exists

This commit is contained in:
MitchMarq42 2023-04-21 21:41:49 -08:00
parent 49ddec73c5
commit 359936ad09

View File

@ -101,7 +101,8 @@
(notibox-alert `(
:title ,(format "%s" (current-buffer))
:message ,(current-message)))
(notibox-delete 'current)))
(if notibox-current-posframes
(notibox-delete 'current))))
(defun notibox/setup-timer ()
(interactive)