mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
contrib: pick: update notmuch-show calls
Remove some unneeded nil arguments in notmuch-show calls.
This commit is contained in:
parent
48231337b7
commit
10596a5cce
1 changed files with 2 additions and 2 deletions
|
@ -461,7 +461,7 @@ Does NOT change the database."
|
||||||
;; Since we are only displaying one message do not indent.
|
;; Since we are only displaying one message do not indent.
|
||||||
(let ((notmuch-show-indent-messages-width 0)
|
(let ((notmuch-show-indent-messages-width 0)
|
||||||
(notmuch-show-only-matching-messages t))
|
(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.
|
;; We need the `let' as notmuch-pick-message-window is buffer local.
|
||||||
(let ((window notmuch-pick-message-window))
|
(let ((window notmuch-pick-message-window))
|
||||||
(with-current-buffer buffer
|
(with-current-buffer buffer
|
||||||
|
@ -480,7 +480,7 @@ Does NOT change the database."
|
||||||
(when id
|
(when id
|
||||||
;; We close the window to kill off un-needed buffers.
|
;; We close the window to kill off un-needed buffers.
|
||||||
(notmuch-pick-close-message-window)
|
(notmuch-pick-close-message-window)
|
||||||
(notmuch-show id nil nil nil))))
|
(notmuch-show id))))
|
||||||
|
|
||||||
(defun notmuch-pick-show-message (arg)
|
(defun notmuch-pick-show-message (arg)
|
||||||
"Show the current message.
|
"Show the current message.
|
||||||
|
|
Loading…
Reference in a new issue