mirror of https://github.com/djcb/mu.git
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:
parent
430f17af65
commit
5a09733048
|
@ -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.")
|
||||
|
||||
(defun mu4e-action-view-as-pdf (msg)
|
||||
|
|
Loading…
Reference in New Issue