mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
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:
parent
cadfc39de7
commit
1650fd39ce
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ current buffer, if possible."
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(let ((coding-system-for-read 'no-conversion))
|
(let ((coding-system-for-read 'no-conversion))
|
||||||
(call-process notmuch-command nil t nil
|
(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))))
|
(buffer-string))))
|
||||||
|
|
||||||
(defun notmuch-show-get-bodypart-content (msg part nth)
|
(defun notmuch-show-get-bodypart-content (msg part nth)
|
||||||
|
|
Loading…
Reference in a new issue