summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-notmuch.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-10-29 20:12:23 +0000
committerjao <jao@gnu.org>2026-10-29 20:12:23 +0000
commit46e4dc6a6a939a08199e4b24e513485304a319da (patch)
treea2db87fb7921e42b4846aa21967bbfb7ab38fe56 /custom/jao-custom-notmuch.el
parentaacd2b6d97feb4ac017ca7bf3d5291350f03a2bb (diff)
downloadelibs-46e4dc6a6a939a08199e4b24e513485304a319da.tar.gz
elibs-46e4dc6a6a939a08199e4b24e513485304a319da.tar.bz2
nits
Diffstat (limited to 'custom/jao-custom-notmuch.el')
-rw-r--r--custom/jao-custom-notmuch.el4
1 files changed, 2 insertions, 2 deletions
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)