fix(mu4e): void-function mu4e-clear-caches error
mu4e-clear-caches was removed in djcb/mu@f73aad2b41, so users on 1.12.2 or so will see void-function errors until djcb/mu@770a2396de is propagated to distro package managers, which likely won't happen soon (esp for LTS distros). Fix: #7703 Ref: djcb/mu@f73aad2b41 Ref: djcb/mu@770a2396de Co-authored-by: dltacube <dltacube@users.noreply.github.com>
This commit is contained in:
parent
6c65e9fa00
commit
650e48837d
1 changed files with 5 additions and 2 deletions
|
@ -33,8 +33,11 @@ default/fallback account."
|
|||
:enter-func
|
||||
(lambda () (mu4e-message "Switched to %s" label))
|
||||
:leave-func
|
||||
(lambda () (progn (setq +mu4e-personal-addresses nil)
|
||||
(mu4e-clear-caches)))
|
||||
(lambda ()
|
||||
(setq +mu4e-personal-addresses nil)
|
||||
;; REVIEW: `mu4e-clear-caches' was removed in 1.12.2, but
|
||||
;; may still be useful to users on older versions.
|
||||
(if (fboundp 'mu4e-clear-caches) (mu4e-clear-caches)))
|
||||
:match-func
|
||||
(lambda (msg)
|
||||
(when msg
|
||||
|
|
Loading…
Reference in a new issue