From f16224c33ad9e5f5922abf85dbe8969dfa9f5aa8 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sun, 5 Jun 2022 12:08:35 +0300 Subject: [PATCH] mu4e: don't loop mu4e-update-index when index is empty Fixes: issue #2240. --- mu4e/mu4e.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mu4e/mu4e.el b/mu4e/mu4e.el index caceddc7..7fc55020 100644 --- a/mu4e/mu4e.el +++ b/mu4e/mu4e.el @@ -117,8 +117,7 @@ Invoke FUNC if non-nil." (mu4e--check-requirements) (when func (funcall func)) (when (zerop doccount) - (mu4e-message "Store is empty; (re)indexing. This may take a while.") ; - (mu4e-update-index)) + (mu4e-message "Store is empty; try indexing (M-x mu4e-update-index).")) (when (and mu4e-update-interval (null mu4e--update-timer)) (setq mu4e--update-timer (run-at-time 0 mu4e-update-interval