Move Wanderlust configuration from :config to :init
For some reason WL doesn’t pick up these values if set from :config
This commit is contained in:
parent
c399805709
commit
203bb554c5
@ -2105,6 +2105,10 @@ This will be replaced with something self-hosted, eventually.
|
||||
:no-require t
|
||||
:init
|
||||
(require 'wl)
|
||||
(setq elmo-maildir-folder-path (expand-file-name "mail" (or (getenv "XDG_CACHE_HOME") "~/.cache"))
|
||||
wl-folders-file (expand-file-name
|
||||
(convert-standard-filename "wl-folders")
|
||||
user-emacs-directory))
|
||||
:config
|
||||
(when (boundp 'mail-user-agent)
|
||||
(setq mail-user-agent 'wl-user-agent))
|
||||
@ -2115,11 +2119,6 @@ This will be replaced with something self-hosted, eventually.
|
||||
'wl-draft-send
|
||||
'wl-draft-kill
|
||||
'mail-send-hook))
|
||||
(setq
|
||||
elmo-maildir-folder-path (expand-file-name "mail" (or (getenv "XDG_CACHE_HOME") "~/.cache"))
|
||||
wl-folders-file (expand-file-name
|
||||
(convert-standard-filename "wl-folders")
|
||||
user-emacs-directory))
|
||||
:bind
|
||||
(:map gpolonkai/pers-map
|
||||
("m" . wl)))
|
||||
|
Loading…
Reference in New Issue
Block a user