]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: `notmuch-mua-new-reply' is also not interactive
authorAustin Clements <amdragon@MIT.EDU>
Sun, 6 Oct 2013 03:22:44 +0000 (23:22 -0400)
committerDavid Bremner <bremner@debian.org>
Mon, 7 Oct 2013 23:31:28 +0000 (20:31 -0300)
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

index dbb0dae97b43e7370c2b74cb83ffaaf1182464ae..f6006ee04c4220b422ba10a1333c6bc8d5a331c9 100644 (file)
@@ -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))))