aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2013-10-05 23:22:44 -0400
committerGravatar David Bremner <bremner@debian.org>2013-10-07 20:31:28 -0300
commite1fba87327d29c16fd3d4607096022e5ef0718d0 (patch)
tree382dec34f692d028d445c0ea6e0cda25da9ddb73
parent0a84aaec6fd9b4e36ae27007779ded355fad2558 (diff)
emacs: `notmuch-mua-new-reply' is also not interactive
Like `notmuch-mua-new-forward-message', this is meant to be invoked programmatically by something that can provide a reasonable query string. In fact, `notmuch-mua-new-reply's interactive specification didn't match its arguments, so it wouldn't have worked interactively.
-rw-r--r--emacs/notmuch-mua.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index dbb0dae9..f6006ee0 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -340,8 +340,11 @@ the From: address first."
(notmuch-mua-forward-message)))
(defun notmuch-mua-new-reply (query-string &optional prompt-for-sender reply-all)
- "Invoke the notmuch reply window."
- (interactive "P")
+ "Compose a reply to the message identified by QUERY-STRING.
+
+If PROMPT-FOR-SENDER is non-nil, the user will be prompted for
+the From: address first. If REPLY-ALL is non-nil, the message
+will be addressed to all recipients of the source message."
(let ((sender
(when prompt-for-sender
(notmuch-mua-prompt-for-sender))))