org-mime: call 'org and 'ascii hooks appropriately
patch by Niels Giesen * contrib/lisp/org-mime.el (org-mime-compose):
This commit is contained in:
parent
ad6c199ccc
commit
40264e9b75
|
@ -293,7 +293,8 @@ export that region, otherwise export the entire body."
|
|||
(html (org-mime-apply-html-hook (car html-and-images))))
|
||||
(insert (org-mime-multipart
|
||||
(org-export-string
|
||||
(org-babel-trim (bhook body 'html))
|
||||
(org-babel-trim
|
||||
(bhook body (if (eq fmt 'html) 'org 'ascii)))
|
||||
(if (eq fmt 'html) 'org 'ascii))
|
||||
html)
|
||||
(mapconcat 'identity images "\n"))))))))
|
||||
|
|
Loading…
Reference in New Issue