summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-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)