From: Austin Clements Date: Sun, 6 Oct 2013 03:22:44 +0000 (-0400) Subject: emacs: `notmuch-mua-new-reply' is also not interactive X-Git-Tag: 0.17_rc1~114 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=e1fba87327d29c16fd3d4607096022e5ef0718d0 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. --- 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))))