mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
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:
parent
0a84aaec6f
commit
e1fba87327
1 changed files with 5 additions and 2 deletions
|
@ -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))))
|
||||||
|
|
Loading…
Reference in a new issue