From 4672cf0fe67c87baa275d9a72e1c6f8573338b60 Mon Sep 17 00:00:00 2001
From: Mark Walters <markwalters1009@gmail.com>
Date: Sun, 15 Sep 2013 15:35:05 +0100
Subject: [PATCH] contrib: pick: use the new notmuch-common-keymap for pick
 entry

Austin recently added a global keymap: use this for pick
entry.
---
 contrib/notmuch-pick/notmuch-pick.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el
index 2deee42e..386fef58 100644
--- a/contrib/notmuch-pick/notmuch-pick.el
+++ b/contrib/notmuch-pick/notmuch-pick.el
@@ -966,11 +966,9 @@ The arguments are:
 
 
 ;; Set up key bindings from the rest of notmuch.
-(define-key notmuch-search-mode-map "z" 'notmuch-pick)
+(define-key notmuch-common-keymap "z" 'notmuch-pick)
 (define-key notmuch-search-mode-map "Z" 'notmuch-pick-from-search-current-query)
 (define-key notmuch-search-mode-map (kbd "M-RET") 'notmuch-pick-from-search-thread)
-(define-key notmuch-hello-mode-map "z" 'notmuch-pick-from-hello)
-(define-key notmuch-show-mode-map "z" 'notmuch-pick)
 (define-key notmuch-show-mode-map "Z" 'notmuch-pick-from-show-current-query)
 (notmuch-pick-setup-show-out)
 (message "Initialised notmuch-pick")
-- 
2.45.2