From d02b9f86e9d263361dc625d519e613ffa8cb20d7 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 24 Jan 2021 01:01:10 +0900 Subject: [PATCH] fix-mu4e-msg2pdf-path mu4e expects msg2pdf in some strange path, fix that also remove the reference to the build path See bug #760598 Gbp-Pq: Name fix-mu4e-msg2pdf-path --- mu4e/mu4e-actions.el | 4 +--- mu4e/mu4e-meta.el.in | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mu4e/mu4e-actions.el b/mu4e/mu4e-actions.el index a4940c8..12595d8 100644 --- a/mu4e/mu4e-actions.el +++ b/mu4e/mu4e-actions.el @@ -54,9 +54,7 @@ Works for headers view and message-view." ;;; To PDF -(defvar mu4e-msg2pdf - (let ((exec-path (cons (concat mu4e-builddir "/toys/msg2pdf/") exec-path))) - (locate-file "msg2pdf" exec-path exec-suffixes)) +(defvar mu4e-msg2pdf "/usr/bin/msg2pdf" "Path to the msg2pdf toy.") (defun mu4e-action-view-as-pdf (msg) diff --git a/mu4e/mu4e-meta.el.in b/mu4e/mu4e-meta.el.in index 47d242d..fc4cf8a 100644 --- a/mu4e/mu4e-meta.el.in +++ b/mu4e/mu4e-meta.el.in @@ -2,7 +2,7 @@ (defconst mu4e-mu-version "@VERSION@" "Required mu binary version; mu4e's version must agree with this.") -(defconst mu4e-builddir "@abs_top_builddir@" +(defconst mu4e-builddir "IGNORED" "Top-level build directory.") (defconst mu4e-doc-dir "@MU_DOC_DIR@" -- 2.30.2