aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Jameson Graef Rollins <jrollins@finestructure.net>2011-05-23 06:45:39 -0700
committerGravatar Carl Worth <cworth@cworth.org>2011-05-24 12:19:18 -0700
commit1650fd39ceec895c29f8fa9d8dd94d9bcbf374a0 (patch)
tree1f3c114cb9a95182b025da46369a975ab943513e /emacs
parentcadfc39de78e8758e35c0957397618d22eef912c (diff)
emacs: update notmuch-show.el to use new part output
The command-line interface for extracting a single part from a message recently changed from: notmuch part --part=X to: notmuch show --format=raw --part=X
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-show.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index ed7037a1..7913a129 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -556,7 +556,7 @@ current buffer, if possible."
(with-temp-buffer
(let ((coding-system-for-read 'no-conversion))
(call-process notmuch-command nil t nil
- "part" (format "--part=%s" part-number) message-id)
+ "show" "--format=raw" (format "--part=%s" part-number) message-id)
(buffer-string))))
(defun notmuch-show-get-bodypart-content (msg part nth)