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
This commit is contained in:
Jameson Graef Rollins 2011-05-23 06:45:39 -07:00 committed by Carl Worth
parent cadfc39de7
commit 1650fd39ce

View file

@ -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)