From 359936ad09469d1ba0f1fee0f7176808981be628 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Fri, 21 Apr 2023 21:41:49 -0800 Subject: [PATCH] bugfix: only delete posframe if it exists --- notibox.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notibox.el b/notibox.el index 75e9f7d..791f419 100644 --- a/notibox.el +++ b/notibox.el @@ -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)