mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-24 02:14:52 +01:00
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).
This commit is contained in:
parent
4672cf0fe6
commit
c8f7b6e0c4
1 changed files with 0 additions and 11 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Reference in a new issue