branch: elpa/org-mime
commit 8de4bb693d2d4ef58278cd75e64969f925102c71
Author: Chen Bin <[email protected]>
Commit: Chen Bin <[email protected]>
image could be nil
---
README.org | 2 +-
org-mime.el | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/README.org b/README.org
index 3a2fab25a9..afa6540fc3 100644
--- a/README.org
+++ b/README.org
@@ -1,4 +1,4 @@
-* org-mime v0.1.3
+* org-mime v0.1.4
[[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 b6a86aec1c..e95d2d4bc6 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.3
+;; Version: 0.1.4
;; Package-Requires: ((emacs "24.4") (cl-lib "0.5"))
;; This file is not part of GNU Emacs.
@@ -387,7 +387,8 @@ CURRENT-FILE is used to calculate full path of images."
html)))
files))
- (insert (org-mime-multipart html (mapconcat 'identity images "\n")))
+ (when images
+ (insert (org-mime-multipart html (mapconcat 'identity images "\n"))))
;; Attach any residual files
(when files