branch: elpa/org-mime
commit 562cb5a3f0e4af69d9495d0cd829bdd6a7fd77fa
Author: Carlo Zancanaro <[email protected]>
Commit: Carlo Zancanaro <[email protected]>
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)