From 30ee8e107c7c8dca0a163bf1432e926d2329ea9c Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 21 Dec 2016 10:52:40 +0100 Subject: emacs: fetch the msg2pdf from the exec path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- emacs/settings/init-mu4e.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'emacs') 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 () -- cgit v1.2.3