aboutsummaryrefslogtreecommitdiff
path: root/emacs/notmuch-show.el
diff options
context:
space:
mode:
authorThomas Jost <schnouki@schnouki.net>2011-05-26 10:41:33 +0200
committerCarl Worth <cworth@cworth.org>2011-05-26 10:38:16 -0700
commitf7cc259c10cc1a1c85b48d6c826c5e9effb3e34a (patch)
tree01315ac208b34312b6b5cd7c93238a3c81745031 /emacs/notmuch-show.el
parent1a8aae6fa7be108819fa848df3dc98e1840f5eba (diff)
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.
Diffstat (limited to 'emacs/notmuch-show.el')
-rw-r--r--emacs/notmuch-show.el6
1 files changed, 3 insertions, 3 deletions
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."