From f7cc259c10cc1a1c85b48d6c826c5e9effb3e34a Mon Sep 17 00:00:00 2001 From: Thomas Jost Date: Thu, 26 May 2011 10:41:33 +0200 Subject: emacs: Allow the user to choose the "From" address when replying to a message When pressing C-u r, the user will be prompted for the identity to use. --- emacs/notmuch-show.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'emacs/notmuch-show.el') diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index add273c..2ba151e 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1098,10 +1098,10 @@ any effects from previous calls to ;; Move to the previous message. (notmuch-show-previous-message))))) -(defun notmuch-show-reply () +(defun notmuch-show-reply (&optional prompt-for-sender) "Reply to the current message." - (interactive) - (notmuch-mua-reply (notmuch-show-get-message-id))) + (interactive "P") + (notmuch-mua-new-reply (notmuch-show-get-message-id) prompt-for-sender)) (defun notmuch-show-forward-message (&optional prompt-for-sender) "Forward the current message." -- cgit v1.2.3