summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2010-12-16 18:18:24 -0700
committerEric Schulte <schulte.eric@gmail.com>2010-12-16 18:18:24 -0700
commit943b6701c43ae5d38c4c82eec09caefd13dc736e (patch)
treec9eb24275c00bed7d3fcf3260712ee058a41e7c4
parent3c66db85f0a7869d83e3d8ea8f61c75e0b15993c (diff)
downloadorg-mode-943b6701c43ae5d38c4c82eec09caefd13dc736e.tar.gz
org-mime: insert contents *before* signature
Thanks to Rainer M. Krug for reporting * contrib/lisp/org-mime.el (org-mime-org-buffer-htmlize): Insert contents *before* signature.
-rw-r--r--contrib/lisp/org-mime.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-mime.el b/contrib/lisp/org-mime.el
index 736dee6..e806639 100644
--- a/contrib/lisp/org-mime.el
+++ b/contrib/lisp/org-mime.el
@@ -234,7 +234,7 @@ handling with appropriate MIME encoding."
(html (org-mime-apply-html-hook (car html-and-images))))
;; dump the exported html into a fresh message buffer
(reporter-compose-outgoing)
- (goto-char (point-max))
+ (message-goto-body)
(prog1 (insert (org-mime-multipart body html)
(mapconcat 'identity html-images "\n"))
(delete-file temp-body-file))))