fix semi-backend bug in org-mime

* contrib/lisp/org-mime.el (org-mime-multipart): Fix bug in use of the
  semi org-mime-library when converting emails to HTML.
This commit is contained in:
Eric Schulte 2014-06-12 14:40:32 -04:00 committed by Bastien Guerry
parent feca87b9ac
commit 3a1e6a3c3a

View file

@ -163,10 +163,13 @@ and images in a multipart/related part."
('semi (concat
"--" "<<alternative>>-{\n"
"--" "[[text/plain]]\n" plain
(when images (concat "--" "<<alternative>>-{\n"))
"--" "[[text/html]]\n" html
images
(when images (concat "--" "}-<<alternative>>\n"))
(if (and images (> (length images) 0))
(concat "--" "<<related>>-{\n"
"--" "[[text/html]]\n" html
images
"--" "}-<<related>>\n")
(concat "--" "[[text/html]]\n" html
images))
"--" "}-<<alternative>>\n"))
('vm "?")))