From 3cf926463e654b0d9c968e80c82e6f0f8e101aa9 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Fri, 1 Nov 2013 09:23:45 +0000 Subject: emacs: move the show entry to tree into show.el Move the keybinding and show specific helper from tree.el to show.el --- emacs/notmuch-tree.el | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'emacs/notmuch-tree.el') diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index c66dd350..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,7 +909,6 @@ The arguments are: (setq truncate-lines t)) -;; Set up key bindings from the rest of notmuch. -(define-key notmuch-show-mode-map "Z" 'notmuch-tree-from-show-current-query) +;; (provide 'notmuch-tree) -- cgit v1.2.3