mu4e: Adjust config to mu4e 1.4
mu4e 1.4 brings quite a few changes, including the deprecation of previously used variables. These are now guarded by a version comparison. org-mu4e is not needed for linking anymore, org-mu4e-link-query-in-headers-mode was renamed. It's new version defaults to nil and is therefore not set anymore -- I am not sure if the default was changed or setting it was not strictly needed previously.
This commit is contained in:
parent
e0f8fbee22
commit
9fe35c5fa4
2 changed files with 12 additions and 8 deletions
|
@ -6,7 +6,7 @@
|
|||
list of cons cells (VARIABLE . VALUE) -- you may want to modify:
|
||||
|
||||
+ `user-full-name' (this or the global `user-full-name' is required)
|
||||
+ `user-mail-address' (required)
|
||||
+ `user-mail-address' (required in mu4e < 1.4)
|
||||
+ `smtpmail-smtp-user' (required for sending mail from Emacs)
|
||||
|
||||
OPTIONAL:
|
||||
|
@ -19,8 +19,9 @@ OPTIONAL:
|
|||
DEFAULT-P is a boolean. If non-nil, it marks that email account as the
|
||||
default/fallback account."
|
||||
(after! mu4e
|
||||
(when-let (address (cdr (assq 'user-mail-address letvars)))
|
||||
(add-to-list 'mu4e-user-mail-address-list address))
|
||||
(when (version< mu4e-mu-version "1.4")
|
||||
(when-let (address (cdr (assq 'user-mail-address letvars)))
|
||||
(add-to-list 'mu4e-user-mail-address-list address)))
|
||||
(setq mu4e-contexts
|
||||
(cl-loop for context in mu4e-contexts
|
||||
unless (string= (mu4e-context-name context) label)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue