summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2016-12-04 18:11:45 +0200
committerGitHub <noreply@github.com>2016-12-04 18:11:45 +0200
commitc45cfadb7185acd9d9c06d951e37a71c46399d04 (patch)
tree207b9438291101be0405c8469046e083c6b59ac7
parent01768520e32a7cb7bd3cef488b64ba335a2a69e3 (diff)
parentad738b88b0a0e7e9271deec01b70622950fbae0a (diff)
Merge pull request #962 from titaniumbones/fix-other-headers
mu4e: force use of strings for other-header in mu4e~compose-mail
-rw-r--r--mu4e/mu4e-compose.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/mu4e/mu4e-compose.el b/mu4e/mu4e-compose.el
index 6796d88..f2171a1 100644
--- a/mu4e/mu4e-compose.el
+++ b/mu4e/mu4e-compose.el
@@ -762,7 +762,10 @@ draft message."
;; add any other headers specified
(when other-headers
- (message-add-header other-headers))
+ (dolist (h other-headers other-headers)
+ (if (symbolp (car h)) (setcar h (symbol-name (car h))))
+ (message-add-header (concat (capitalize (car h)) ": " (cdr h) "\n" ))
+ ))
;; yank message
(if (bufferp yank-action)