X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-tree.el;h=8d59e65f6396ffedd5ef409c5c671d6b016ca883;hb=f05e7f3ce50b5762a56406b29012b25e2d1329b2;hp=f13b41f5b015f943cb0d243ffa1fb2bbd1ea6975;hpb=3cf926463e654b0d9c968e80c82e6f0f8e101aa9;p=notmuch diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index f13b41f5..8d59e65f 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -220,13 +220,13 @@ FUNC." (set-keymap-parent map notmuch-common-keymap) ;; The following override the global keymap. ;; Override because we want to close message pane first. - (define-key map "?" (notmuch-tree-close-message-pane-and #'notmuch-help)) + (define-key map [remap notmuch-help] (notmuch-tree-close-message-pane-and #'notmuch-help)) ;; Override because we first close message pane and then close tree buffer. - (define-key map "q" 'notmuch-tree-quit) + (define-key map [remap notmuch-kill-this-buffer] 'notmuch-tree-quit) ;; Override because we close message pane after the search query is entered. - (define-key map "s" 'notmuch-tree-to-search) + (define-key map [remap notmuch-search] 'notmuch-tree-to-search) ;; Override because we want to close message pane first. - (define-key map "m" (notmuch-tree-close-message-pane-and #'notmuch-mua-new-mail)) + (define-key map [remap notmuch-mua-new-mail] (notmuch-tree-close-message-pane-and #'notmuch-mua-new-mail)) ;; these use notmuch-show functions directly (define-key map "|" 'notmuch-show-pipe-message)