diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-08-02 22:49:19 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-08-02 22:49:19 +0800 |
commit | 6814250a0c95e0849c191e7f5fe8e2a8bee31440 (patch) | |
tree | e48ff0faa822b1bb7f0d626d58732f40b6b97e8b /_spacemacs.d/local/mu4e/org-mu4e.el | |
parent | 98083f04530335e8f98589373ecfad8948b86ae8 (diff) | |
download | dotfiles-6814250a0c95e0849c191e7f5fe8e2a8bee31440.tar.bz2 |
spacemacs: update mu/mu4e to git20160802
Diffstat (limited to '_spacemacs.d/local/mu4e/org-mu4e.el')
-rw-r--r-- | _spacemacs.d/local/mu4e/org-mu4e.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_spacemacs.d/local/mu4e/org-mu4e.el b/_spacemacs.d/local/mu4e/org-mu4e.el index b9e9688..545f566 100644 --- a/_spacemacs.d/local/mu4e/org-mu4e.el +++ b/_spacemacs.d/local/mu4e/org-mu4e.el @@ -192,8 +192,6 @@ and images in a multipart/related part." "Convert the current body to html." (unless (fboundp 'org-export-string-as) (mu4e-error "require function 'org-export-string-as not found.")) - (unless (executable-find "dvipng") - (mu4e-error "Required program dvipng not found")) (let* ((begin (save-excursion (goto-char (point-min)) @@ -209,7 +207,9 @@ and images in a multipart/related part." ;; makes the replies with ">"s look nicer (org-export-preserve-breaks t) ;; dvipng for inline latex because MathJax doesn't work in mail - (org-export-with-LaTeX-fragments 'dvipng) + (org-export-with-LaTeX-fragments + (if (executable-find "dvipng") 'dvipng + (mu4e-message "Cannot find dvipng, ignore inline LaTeX") nil)) ;; to hold attachments for inline html images (html-and-images (org~mu4e-mime-replace-images |