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.
This commit is contained in:
Austin Clements 2013-10-05 23:22:44 -04:00 committed by David Bremner
parent 0a84aaec6f
commit e1fba87327

View file

@ -340,8 +340,11 @@ the From: address first."
(notmuch-mua-forward-message))) (notmuch-mua-forward-message)))
(defun notmuch-mua-new-reply (query-string &optional prompt-for-sender reply-all) (defun notmuch-mua-new-reply (query-string &optional prompt-for-sender reply-all)
"Invoke the notmuch reply window." "Compose a reply to the message identified by QUERY-STRING.
(interactive "P")
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 (let ((sender
(when prompt-for-sender (when prompt-for-sender
(notmuch-mua-prompt-for-sender)))) (notmuch-mua-prompt-for-sender))))