From 46e4dc6a6a939a08199e4b24e513485304a319da Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 29 Oct 2026 20:12:23 +0000 Subject: nits --- custom/jao-custom-notmuch.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'custom/jao-custom-notmuch.el') diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el index 1ef20b7..4502334 100644 --- a/custom/jao-custom-notmuch.el +++ b/custom/jao-custom-notmuch.el @@ -46,7 +46,7 @@ (jao-notmuch-notify) (with-current-buffer "*notmuch-hello*" (notmuch-hello-update) - (when first (jao-notmuch-hello-first)) + (when (and first (not (widget-at))) (jao-notmuch-hello-first)) (when agenda (jao-notmuch-refresh-agenda)))) (when jao-notmuch-enabled @@ -458,7 +458,7 @@ (defun jao-notmuch-after-tree-quit (&optional _both) (when (not (derived-mode-p 'notmuch-tree-mode 'notmuch-hello-mode)) (jump-to-register ?G)) - (jao-notmuch-notify-and-update t t)) + (jao-notmuch-notify-and-update t)) (defvar jao-notmuch--visits 0) -- cgit v1.2.3