diff options
author | Mark Walters <markwalters1009@gmail.com> | 2013-09-15 15:35:06 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-09-23 07:30:20 -0300 |
commit | c8f7b6e0c4ae1cdce41239e41a21440bbc74b258 (patch) | |
tree | 29b09bdd0e511ac656342d77092baf37ae76d6aa /contrib | |
parent | 4672cf0fe67c87baa275d9a72e1c6f8573338b60 (diff) |
contrib: pick: remove unused notmuch-pick-from-hello
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).
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/notmuch-pick/notmuch-pick.el | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el index 386fef58..69bea2a4 100644 --- a/contrib/notmuch-pick/notmuch-pick.el +++ b/contrib/notmuch-pick/notmuch-pick.el @@ -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 () |