From bb477cae460bff43fbc5cd79357fc4d43cee1e50 Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 27 Mar 2024 14:20:10 +0000 Subject: jao-minibuffer-inhibit used during notmuch workspace redisplay --- custom/jao-custom-notmuch.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el index b498f8b..0ad2abc 100644 --- a/custom/jao-custom-notmuch.el +++ b/custom/jao-custom-notmuch.el @@ -281,9 +281,10 @@ (derived-mode-p 'notmuch-hello-mode)) (when (not (string-blank-p jao-notmuch-minibuffer-string)) (let ((notmuch-hello-auto-refresh nil)) (notmuch-hello))) - (save-window-excursion - (calendar) - (when agenda (org-agenda-list))) + (let ((jao-minibuffer-inhibit t)) + (save-window-excursion + (calendar) + (when agenda (org-agenda-list)))) (unless (widget-at) (jao-notmuch-hello-first)) (jao-minibuffer-refresh)))) -- cgit v1.2.3