From: Mark Walters Date: Sun, 15 Sep 2013 08:19:33 +0000 (+0100) Subject: contrib: pick: bugfix use of mini-buffer history X-Git-Tag: 0.17_rc1~127 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=b8faf2b543e2146ea0036ef417900889ffe63dfa contrib: pick: bugfix use of mini-buffer history 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. --- diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el index 5dcc9426..108a3f4f 100644 --- a/contrib/notmuch-pick/notmuch-pick.el +++ b/contrib/notmuch-pick/notmuch-pick.el @@ -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