contrib: pick: use the new notmuch-common-keymap for pick entry

Austin recently added a global keymap: use this for pick
entry.
This commit is contained in:
Mark Walters 2013-09-15 15:35:05 +01:00 committed by David Bremner
parent 393788487d
commit 4672cf0fe6

View file

@ -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")