From e1fba87327d29c16fd3d4607096022e5ef0718d0 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Sat, 5 Oct 2013 23:22:44 -0400 Subject: [PATCH] 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. --- emacs/notmuch-mua.el | 7 +++++-- 1 file 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))))