aboutsummaryrefslogtreecommitdiff
path: root/emacs/settings
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/settings')
-rw-r--r--emacs/settings/init-mu4e.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/settings/init-mu4e.el b/emacs/settings/init-mu4e.el
index cc29e60..2a3ad13 100644
--- a/emacs/settings/init-mu4e.el
+++ b/emacs/settings/init-mu4e.el
@@ -186,6 +186,11 @@
(add-to-list 'mu4e-view-actions
'("webkit" . mu4e-action-view-with-xwidget)))
+ ; Look for mu4e-msg2pdf in the exec path.
+ (let ((exec (locate-file "msg2pdf" exec-path exec-suffixes)))
+ (if exec
+ (setq mu4e-msg2pdf exec)))
+
;; Addings hooks for composing and viewing messages.
(defun mssola-compose-mode ()