Previously notmuch command name was hardcoded into this function,
which made remote use of pipe command impossible.
---
 emacs/notmuch-show.el |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 3daa868..ae483dd 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -937,12 +937,13 @@ than only the current message."
   (let (shell-command)
     (if entire-thread
        (setq shell-command 
-             (concat "notmuch show --format=mbox "
+             (concat notmuch-command " show --format=mbox "
                      (shell-quote-argument
                       (mapconcat 'identity 
(notmuch-show-get-message-ids-for-open-messages) " OR "))
                      " | " command))
       (setq shell-command
-           (concat "notmuch show --format=raw " (shell-quote-argument 
(notmuch-show-get-message-id)) " | " command)))
+           (concat notmuch-command " show --format=raw "
+                   (shell-quote-argument (notmuch-show-get-message-id)) " | " 
command)))
     (start-process-shell-command "notmuch-pipe-command" "*notmuch-pipe*" 
shell-command)))
 
 (defun notmuch-show-add-tags-worker (current-tags add-tags)
-- 
1.7.1

_______________________________________________
notmuch mailing list
[email protected]
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to