ENH don't add newline to email replies as plain text doesn't do that

This commit is contained in:
Nathan Dwarshuis 2019-09-24 10:11:17 -04:00
parent 710356ec06
commit c6daf14c10
1 changed files with 1 additions and 4 deletions

View File

@ -3098,10 +3098,7 @@ Since mu4e is an external program, need to check that it is installed before loa
;; oops, mu4e screwed up
(mu4e-html2text-command
(if (executable-find "pandoc")
;; use printf here to insert a newline in front of pandoc's output
;; note that for some reason there needs to be a space in front
;; of the newline or else it is stripped
"printf \" \\n%s\" \"$(pandoc -f html -t plain --reference-links)\""
"pandoc -f html -t plain --reference-links"
'mu4e-shr2text)))
(when (and html mu4e-view-prefer-html (member compose-type '(reply forward)))
;; hackity hack, since the normal mu4e-message-body-text function