diff options
| author | djcb <djcb@djcbsoftware.nl> | 2019-04-15 07:19:44 +0300 |
|---|---|---|
| committer | djcb <djcb@djcbsoftware.nl> | 2019-04-15 07:19:44 +0300 |
| commit | da1cb4e97b6e09fa1565ea9b5d522b1037bdb83a (patch) | |
| tree | e29930f612438193c68d740fd1ed80c021b2c659 /mu4e | |
| parent | 46c3c5a49bcd8facf3e5b3308168bbec0823094f (diff) | |
mu4e-actions: fix mu4e~write-body-to-html
Use mu4e~view-construct-contacts-header instead of a non-existing
function.
Diffstat (limited to 'mu4e')
| -rw-r--r-- | mu4e/mu4e-actions.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mu4e/mu4e-actions.el b/mu4e/mu4e-actions.el index c11c5ad..8e68252 100644 --- a/mu4e/mu4e-actions.el +++ b/mu4e/mu4e-actions.el @@ -85,9 +85,12 @@ return the filename." (mu4e-error "No body part for this message")) (with-temp-buffer (insert "<head><meta charset=\"UTF-8\"></head>\n") - (insert (concat "<p><strong>From</strong>: " (mu4e-html-construct-contacts-header msg :from) "</br>")) - (insert (concat "<strong>To</strong>: " (mu4e-html-construct-contacts-header msg :to) "</br>")) - (insert (concat "<strong>Date</strong>: " (format-time-string mu4e-view-date-format (mu4e-message-field msg :date)) "</br>")) + (insert (concat "<p><strong>From</strong>: " + (mu4e~view-construct-contacts-header msg :from) "</br>")) + (insert (concat "<strong>To</strong>: " + (mu4e~view-construct-contacts-header msg :to) "</br>")) + (insert (concat "<strong>Date</strong>: " + (format-time-string mu4e-view-date-format (mu4e-message-field msg :date)) "</br>")) (insert (concat "<strong>Subject</strong>: " (mu4e-message-field msg :subject) "</p>")) (insert (or html (concat "<pre>" txt "</pre>"))) (write-file tmpfile) |
