From: Erik Hetzner <egh@e6h.org>
To: emacs-orgmode@gnu.org
Subject: [PATCH] org-mime: Use `compose-mail' to send mail
Date: Sat, 29 Aug 2015 22:12:20 -0700 [thread overview]
Message-ID: <55e292ff.010c450a.51476.ffffd8fd@mx.google.com> (raw)
* contrib/lisp/org-mime.el (org-mime-compose): Use `compose-mail' to
send mail. Allows customization via `mail-user-agent'.
TINYCHANGE
---
contrib/lisp/org-mime.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/lisp/org-mime.el b/contrib/lisp/org-mime.el
index 078ebef..682f635 100644
--- a/contrib/lisp/org-mime.el
+++ b/contrib/lisp/org-mime.el
@@ -285,7 +285,7 @@ otherwise export the entire body."
(defun org-mime-compose (body fmt file &optional to subject headers)
(require 'message)
- (message-mail to subject headers nil)
+ (compose-mail to subject headers nil)
(message-goto-body)
(let ((bhook
(lambda (body fmt)
--
2.1.4
next reply other threads:[~2015-08-30 5:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-30 5:12 Erik Hetzner [this message]
2015-08-30 7:43 ` [PATCH] org-mime: Use `compose-mail' to send mail Rasmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55e292ff.010c450a.51476.ffffd8fd@mx.google.com \
--to=egh@e6h.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).