mu4e: msg2pdf: don't require builddir for default
Try to find msg2pdf in addition to builddir, since it seems some people / distros are actually installing it.
This commit is contained in:
@ -49,7 +49,9 @@ Works for headers view and message-view."
|
|||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
(defvar mu4e-msg2pdf (concat mu4e-builddir "/toys/msg2pdf/msg2pdf")
|
(defvar mu4e-msg2pdf
|
||||||
|
(let ((exec-path (cons (concat mu4e-builddir "/toys/msg2pdf/") exec-path)))
|
||||||
|
(locate-file "msg2pdf" exec-path exec-suffixes))
|
||||||
"Path to the msg2pdf toy.")
|
"Path to the msg2pdf toy.")
|
||||||
|
|
||||||
(defun mu4e-action-view-as-pdf (msg)
|
(defun mu4e-action-view-as-pdf (msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user