email/wanderlust: remove redundant defaults

Removed defaults that match wanderlust's defaults.

And fix potential stringp error arising from non-string
user-mail-address.
This commit is contained in:
Henrik Lissner 2019-05-05 14:19:44 -04:00
parent 7430086de1
commit 83fa8fed65
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -18,8 +18,6 @@
(setq wl-init-file (expand-file-name "wl.el" doom-private-dir))
(setq wl-demo nil
wl-interactive-exit t
wl-interactive-send t
wl-stay-folder-window t
wl-folders-file (expand-file-name "folders.wl" doom-private-dir)
wl-x-face-file (expand-file-name "xface" doom-private-dir)
@ -28,9 +26,8 @@
(setq wl-message-truncate-lines t
wl-summary-width 120
wl-from (format "%s <%s>" user-full-name user-mail-address)
;; wl-organization "Secret Conspiracy"
wl-local-domain (cadr (split-string user-mail-address "@"))
wl-local-domain
(ignore-errors (cadr (split-string user-mail-address "@")))
wl-message-ignored-field-list
'(".*Received:"
".*Path:"