X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-tree.el;h=f13b41f5b015f943cb0d243ffa1fb2bbd1ea6975;hb=662e097984780165e57c7fa1f0ddf450dfeab83d;hp=78b4a57ee3432743098c231c88e041c6a958252f;hpb=00b3ee4f82ed94125f6789ba7bdd88b98ed248ef;p=notmuch diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index 78b4a57e..f13b41f5 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -404,15 +404,6 @@ Does NOT change the database." (notmuch-tree-close-message-window) (notmuch-tree query))) -;; This function should be in notmuch-show.el but be we trying to -;; minimise impact on the rest of the codebase. -(defun notmuch-tree-from-show-current-query () - "Call notmuch tree with the current query" - (interactive) - (notmuch-tree notmuch-show-thread-id - notmuch-show-query-context - (notmuch-show-get-message-id))) - (defun notmuch-tree-message-window-kill-hook () "Close the message pane when exiting the show buffer." (let ((buffer (current-buffer))) @@ -918,8 +909,6 @@ The arguments are: (setq truncate-lines t)) -;; Set up key bindings from the rest of notmuch. -(define-key notmuch-common-keymap "z" 'notmuch-tree) -(define-key notmuch-show-mode-map "Z" 'notmuch-tree-from-show-current-query) +;; (provide 'notmuch-tree)