Browse Source

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.
Eric Schulte 9 years ago
parent
commit
943b6701c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/lisp/org-mime.el

+ 1 - 1
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))))