branch: elpa/org-mime
commit 0db41d5b4e9ef9df640e7212a22708ce636b3986
Author: Chen Bin <[email protected]>
Commit: Chen Bin <[email protected]>
emergency fix of broken 0.1.4
---
README.org | 2 +-
org-mime.el | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/README.org b/README.org
index afa6540fc3..e1e74a3375 100644
--- a/README.org
+++ b/README.org
@@ -1,4 +1,4 @@
-* org-mime v0.1.4
+* org-mime v0.1.5
[[https://travis-ci.org/org-mime/org-mime][https://travis-ci.org/org-mime/org-mime.svg?branch=master]]
[[http://melpa.org/#/org-mime][file:http://melpa.org/packages/org-mime-badge.svg]]
[[http://stable.melpa.org/#/org-mime][file:http://stable.melpa.org/packages/org-mime-badge.svg]]
diff --git a/org-mime.el b/org-mime.el
index e95d2d4bc6..009c8cab53 100644
--- a/org-mime.el
+++ b/org-mime.el
@@ -6,7 +6,7 @@
;; Maintainer: Chen Bin (redguardtoo)
;; Keywords: mime, mail, email, html
;; Homepage: http://github.com/org-mime/org-mime
-;; Version: 0.1.4
+;; Version: 0.1.5
;; Package-Requires: ((emacs "24.4") (cl-lib "0.5"))
;; This file is not part of GNU Emacs.
@@ -387,8 +387,7 @@ CURRENT-FILE is used to calculate full path of images."
html)))
files))
- (when images
- (insert (org-mime-multipart html (mapconcat 'identity images "\n"))))
+ (insert (org-mime-multipart html (if images (mapconcat 'identity images
"\n"))))
;; Attach any residual files
(when files