From: Jameson Graef Rollins Date: Mon, 23 May 2011 13:45:39 +0000 (-0700) Subject: emacs: update notmuch-show.el to use new part output X-Git-Tag: debian/0.6_254~127 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=1650fd39ceec895c29f8fa9d8dd94d9bcbf374a0 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 --- 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)