summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2023-02-02 23:48:44 +0200
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2023-02-02 23:48:44 +0200
commit137e800fd075afdca6011772b59aed5f23c92702 (patch)
tree10e9f875a06c5677462594900342f271609dad9d
parent66d20d04f5b7f035021429523b010179a32d38c7 (diff)
mu4e-query-items: clear cached bookmarks/maildirs
When refreshing, so they get properly updated.
-rw-r--r--mu4e/mu4e-query-items.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/mu4e/mu4e-query-items.el b/mu4e/mu4e-query-items.el
index 926a29b..e8d9eb8 100644
--- a/mu4e/mu4e-query-items.el
+++ b/mu4e/mu4e-query-items.el
@@ -120,7 +120,9 @@ If ITEMS does not yet have a favorite item, pick the first."
With RESET-BASELINE, reset the baseline first."
(when reset-baseline
(setq mu4e--query-items-baseline nil
- mu4e--query-items-baseline-tstamp nil))
+ mu4e--query-items-baseline-tstamp nil
+ mu4e--bookmark-items-cached nil
+ mu4e--maildir-items-cached nil))
(mu4e--server-queries
;; note: we must apply the rewrite function here, since the query does not go
;; through mu4e-search.