From 41ad2a921025b6bba9e280af72dec5cc5ef74b0d Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Wed, 15 May 2013 12:50:27 -0600 Subject: [PATCH] modified org-mime to work with new exporter --- contrib/lisp/org-mime.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contrib/lisp/org-mime.el b/contrib/lisp/org-mime.el index 855dc2d58..ef2057c81 100644 --- a/contrib/lisp/org-mime.el +++ b/contrib/lisp/org-mime.el @@ -212,14 +212,12 @@ export that region, otherwise export the entire body." (tmp-file (make-temp-name (expand-file-name "mail" temporary-file-directory))) (body (org-export-string-as raw-body 'org t)) - ;; because we probably don't want to skip part of our mail - (org-export-skip-text-before-1st-heading nil) ;; because we probably don't want to export a huge style file (org-export-htmlize-output-type 'inline-css) ;; makes the replies with ">"s look nicer (org-export-preserve-breaks org-mime-preserve-breaks) ;; dvipng for inline latex because MathJax doesn't work in mail - (org-export-with-LaTeX-fragments 'dvipng) + (org-html-with-latex 'dvipng) ;; to hold attachments for inline html images (html-and-images (org-mime-replace-images