diff options
author | Thomas Jost <schnouki@schnouki.net> | 2011-05-26 10:41:33 +0200 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-05-26 10:38:16 -0700 |
commit | f7cc259c10cc1a1c85b48d6c826c5e9effb3e34a (patch) | |
tree | 01315ac208b34312b6b5cd7c93238a3c81745031 /emacs/notmuch.el | |
parent | 1a8aae6fa7be108819fa848df3dc98e1840f5eba (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.el')
-rw-r--r-- | emacs/notmuch.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el index c3ed0cdb..c22add7a 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -436,11 +436,11 @@ Complete list of currently available key bindings: 32 nil nil t))) (error "End of search results")))) -(defun notmuch-search-reply-to-thread () +(defun notmuch-search-reply-to-thread (&optional prompt-for-sender) "Begin composing a reply to the entire current thread in a new buffer." - (interactive) + (interactive "P") (let ((message-id (notmuch-search-find-thread-id))) - (notmuch-mua-reply message-id))) + (notmuch-mua-new-reply message-id prompt-for-sender))) (defun notmuch-call-notmuch-process (&rest args) "Synchronously invoke \"notmuch\" with the given list of arguments. |