]> git.cworth.org Git - obsolete/notmuch-old/blobdiff - emacs/notmuch-show.el
emacs: Allow the user to choose the "From" address when forwarding a message
[obsolete/notmuch-old] / emacs / notmuch-show.el
index 93c5e53b2d235e0ead9b321011149183422216d1..add273ce154b42968039100f6e099536595396f2 100644 (file)
@@ -1103,11 +1103,11 @@ any effects from previous calls to
   (interactive)
   (notmuch-mua-reply (notmuch-show-get-message-id)))
 
-(defun notmuch-show-forward-message ()
+(defun notmuch-show-forward-message (&optional prompt-for-sender)
   "Forward the current message."
-  (interactive)
+  (interactive "P")
   (with-current-notmuch-show-message
-   (notmuch-mua-forward-message)))
+   (notmuch-mua-new-forward-message prompt-for-sender)))
 
 (defun notmuch-show-next-message ()
   "Show the next message."