Merge pull request #962 from titaniumbones/fix-other-headers

mu4e: force use of strings for other-header in mu4e~compose-mail
This commit is contained in:
Dirk-Jan C. Binnema 2016-12-04 18:11:45 +02:00 committed by GitHub
commit c45cfadb71
1 changed files with 4 additions and 1 deletions

View File

@ -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)