]> git.notmuchmail.org Git - notmuch/commitdiff
contrib: pick: bugfix use of mini-buffer history
authorMark Walters <markwalters1009@gmail.com>
Sun, 15 Sep 2013 08:19:33 +0000 (09:19 +0100)
committerDavid Bremner <bremner@debian.org>
Sun, 15 Sep 2013 11:56:13 +0000 (08:56 -0300)
pick was meant to use the same mini-buffer history but this failed
because the interactive definition took place before the use search
mini-buffer history part. Remove the interactive prompt to ensure the
correct history is used.

contrib/notmuch-pick/notmuch-pick.el

index 5dcc9426b5aa61df1e4c4d7331f504c21034376b..108a3f4ff6c0483472c38fb2aead87f9b0109555 100644 (file)
@@ -899,7 +899,7 @@ The arguments are:
   BUFFER-NAME: the name of the buffer to show the pick tree. If
       it is nil \"*notmuch-pick\" followed by QUERY is used.
   OPEN-TARGET: If TRUE open the target message in the message pane."
-  (interactive "sNotmuch pick: ")
+  (interactive)
   (if (null query)
       (setq query (notmuch-read-query "Notmuch pick: ")))
   (let ((buffer (get-buffer-create (generate-new-buffer-name