contrib: pick: remove temporary keybinding
authorMark Walters <markwalters1009@gmail.com>
Mon, 23 Sep 2013 19:52:59 +0000 (20:52 +0100)
committerDavid Bremner <bremner@debian.org>
Wed, 2 Oct 2013 11:47:39 +0000 (08:47 -0300)
We would like to bind prefix-arg RET in search view to "pick show this
thread" (i.e. notmuch-pick-from-search-thread). It is not easy to do
this cleanly from contrib so I have been using M-RET instead.

Temporarily remove this functionality in preparation for entering
mainline and binding to prefix-arg RET.

contrib/notmuch-pick/notmuch-pick.el

index 3afdea4a9ff4228b95fc41eb4dd1564c8b13cdf4..0aa651ee7f4513a19d5732058ccc630c9dc78059 100644 (file)
@@ -940,7 +940,6 @@ The arguments are:
 ;; Set up key bindings from the rest of notmuch.
 (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-show-mode-map "Z" 'notmuch-pick-from-show-current-query)
 (message "Initialised notmuch-pick")