From 18e35950dad8daa485d86e244ffd5d5e6a63d03a Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Sun, 28 May 2023 10:29:45 +0800 Subject: [PATCH] notmuch-mutt: do not clear search cache Maildir when nothing is found The previous results might be useful to the user but an empty directory definitely isn't useful. --- contrib/notmuch-mutt/notmuch-mutt | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/notmuch-mutt/notmuch-mutt b/contrib/notmuch-mutt/notmuch-mutt index 0f7379ac..875fd032 100755 --- a/contrib/notmuch-mutt/notmuch-mutt +++ b/contrib/notmuch-mutt/notmuch-mutt @@ -120,7 +120,6 @@ sub thread_action($$@) { my $mid = get_message_id(); if (! defined $mid) { - empty_search_cache_maildir($results_dir); die "notmuch-mutt: cannot find Message-Id, abort.\n"; }