diff options
author | Michal Sojka <sojkam1@fel.cvut.cz> | 2010-11-07 00:09:18 +0100 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-11-06 17:17:40 -0700 |
commit | c7189ed607f2715d60133743bf616011796c7e14 (patch) | |
tree | c1791680278e9f33fab7204d8ac0ee42cc5c2404 /emacs | |
parent | eb8caadd4889fdf7c95c9c853ca7fe0e957334ea (diff) |
emacs: Fix notmuch-show-pipe-message to use notmuch-command variable
Previously notmuch command name was hardcoded into this function,
which made remote use of pipe command impossible.
Diffstat (limited to 'emacs')
-rw-r--r-- | 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 3daa8685..ae483dde 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) |