From: Mark Walters Date: Sun, 13 Oct 2013 07:49:00 +0000 (+0100) Subject: contrib: pick: update notmuch-show calls X-Git-Tag: 0.17_rc1~103 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=10596a5cce3c7ed902ec4f0807da4ee283571867;hp=48231337b7ead05d77d0961b034df89871789d0a contrib: pick: update notmuch-show calls Remove some unneeded nil arguments in notmuch-show calls. --- diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el index 0aa651ee..a492214d 100644 --- a/contrib/notmuch-pick/notmuch-pick.el +++ b/contrib/notmuch-pick/notmuch-pick.el @@ -461,7 +461,7 @@ Does NOT change the database." ;; Since we are only displaying one message do not indent. (let ((notmuch-show-indent-messages-width 0) (notmuch-show-only-matching-messages t)) - (setq buffer (notmuch-show id nil nil nil)))) + (setq buffer (notmuch-show id)))) ;; We need the `let' as notmuch-pick-message-window is buffer local. (let ((window notmuch-pick-message-window)) (with-current-buffer buffer @@ -480,7 +480,7 @@ Does NOT change the database." (when id ;; We close the window to kill off un-needed buffers. (notmuch-pick-close-message-window) - (notmuch-show id nil nil nil)))) + (notmuch-show id)))) (defun notmuch-pick-show-message (arg) "Show the current message.