branch: elpa/org-mime
commit 73c13fdd0bdac3bbd20010044e915a1b7b1eba11
Merge: dd9dac74cc 562cb5a3f0
Author: Chen Bin <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #39 from czan/master
    
    Use compose-mail, rather than explicitly using message-mail
---
 org-mime.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/org-mime.el b/org-mime.el
index 36ed7c2996..f2222c8e23 100644
--- a/org-mime.el
+++ b/org-mime.el
@@ -465,8 +465,7 @@ If SUBTREEP is t, curret org node is subtree."
          (plain (cdr exported))
          (export-opts (org-mime-get-export-options subtreep))
          patched-html)
-    (unless (featurep 'message) (require 'message))
-    (message-mail to subject headers nil)
+    (compose-mail to subject headers nil)
     (message-goto-body)
     (setq patched-html (with-temp-buffer
                          (insert html)

Reply via email to