Skip to content

Commit

Permalink
Merge pull request #962 from titaniumbones/fix-other-headers
Browse files Browse the repository at this point in the history
mu4e: force use of strings for other-header in mu4e~compose-mail
  • Loading branch information
djcb authored Dec 4, 2016
2 parents 0176852 + ad738b8 commit c45cfad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mu4e/mu4e-compose.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c45cfad

Please sign in to comment.