X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-show.el;h=245114b719dac78726c2d47dc49e92679c79f30c;hb=dc13fcbf8755506b2681ef3c44da98737ddab8e8;hp=b0d639bfc5334b1ac5347e021fae5cedc7956dd6;hpb=a982773dfb6e8efe1bcee90e888f2560ad006fb5;p=notmuch diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index b0d639bf..245114b7 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1856,8 +1856,8 @@ any effects from previous calls to (defun notmuch-show-forward-message (&optional prompt-for-sender) "Forward the current message." (interactive "P") - (with-current-notmuch-show-message - (notmuch-mua-new-forward-message prompt-for-sender))) + (notmuch-mua-new-forward-messages (list (notmuch-show-get-message-id)) + prompt-for-sender)) (put 'notmuch-show-forward-open-messages 'notmuch-prefix-doc "... and prompt for sender")