From 203bb554c5d9f82727933ef1d512afd8b8b14c47 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 31 Oct 2018 16:22:53 +0100 Subject: [PATCH] Move Wanderlust configuration from :config to :init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For some reason WL doesn’t pick up these values if set from :config --- configuration.org | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/configuration.org b/configuration.org index 799b7fc..9c7b8d3 100644 --- a/configuration.org +++ b/configuration.org @@ -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)))