]> git.notmuchmail.org Git - notmuch/commitdiff
contrib: pick: remove unused notmuch-pick-from-hello
authorMark Walters <markwalters1009@gmail.com>
Sun, 15 Sep 2013 14:35:06 +0000 (15:35 +0100)
committerDavid Bremner <bremner@debian.org>
Mon, 23 Sep 2013 10:30:20 +0000 (07:30 -0300)
This function was used for pick entry from hello but isn't needed
anymore. It was modelled on notmuch-hello-search which is now only
used non-interactively (and notmuch-pick does now add to the
recent-search history correctly).

contrib/notmuch-pick/notmuch-pick.el

index 386fef580d5733284ec379b3f9425d3d0df5d371..69bea2a45add4ad30a4f61fd7f5556d1230098c9 100644 (file)
@@ -428,17 +428,6 @@ Does NOT change the database."
     (notmuch-pick-close-message-window)
     (notmuch-pick query)))
 
-;; This function should be in notmuch-hello.el but we are trying to
-;; minimise impact on the rest of the codebase.
-(defun notmuch-pick-from-hello (&optional search)
-  "Run a query and display results in experimental notmuch-pick mode"
-  (interactive)
-  (unless (null search)
-    (setq search (notmuch-hello-trim search))
-    (let ((history-delete-duplicates t))
-      (add-to-history 'notmuch-search-history search)))
-  (notmuch-pick search))
-
 ;; This function should be in notmuch-show.el but be we trying to
 ;; minimise impact on the rest of the codebase.
 (defun notmuch-pick-from-show-current-query ()