diff options
author | Austin Clements <amdragon@MIT.EDU> | 2012-03-26 21:40:26 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-03-31 08:27:15 -0300 |
commit | 839a80513a2dc961cab9348bd1442f30611b0fe4 (patch) | |
tree | 35bcd4f7dd15183755a5b546fb0bae42334fdbb8 | |
parent | 4ba18958b5fed52598044286e87ebb3f291e4277 (diff) |
emacs: Fix mis-named argument to notmuch-get-bodypart-internal
Previously, this function took an argument called "message-id", even
though it was a general query, rather than a message ID. This changes
it to "query".
-rw-r--r-- | emacs/notmuch-lib.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 2492b80..c159dda 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -220,13 +220,13 @@ the given type." ;; Helper for parts which are generally not included in the default ;; JSON output. -(defun notmuch-get-bodypart-internal (message-id part-number process-crypto) +(defun notmuch-get-bodypart-internal (query part-number process-crypto) (let ((args '("show" "--format=raw")) (part-arg (format "--part=%s" part-number))) (setq args (append args (list part-arg))) (if process-crypto (setq args (append args '("--decrypt")))) - (setq args (append args (list message-id))) + (setq args (append args (list query))) (with-temp-buffer (let ((coding-system-for-read 'no-conversion)) (progn |