better handle maildir cache

- get an updated maildir list after indexing
- add mu4e-added items to the list opportunistically

Remove mu4e-clear-caches / mu4e-cache-maildir-list to mu4e-obsolete.el

Fixes #2537.
This commit is contained in:
Dirk-Jan C. Binnema
2023-08-19 19:41:56 +03:00
parent 15f08488d3
commit f73aad2b41
6 changed files with 40 additions and 35 deletions

View File

@ -224,5 +224,11 @@
(define-obsolete-function-alias 'mu4e-quote-for-modeline
'mu4e--modeline-quote-and-truncate "1.9.16")
;; mu4e-folder
(make-obsolete-variable 'mu4e-cache-maildir-list "No longer used" "1.11.15")
;; mu4e.
(make-obsolete 'mu4e-clear-caches "No longer used" "1.11.15")
(provide 'mu4e-obsolete)
;;; mu4e-obsolete.el ends here