From: Mark Walters <markwalters1009@gmail.com>
Date: Mon, 23 Sep 2013 19:52:59 +0000 (+0100)
Subject: contrib: pick: remove temporary keybinding
X-Git-Tag: 0.17_rc1~116
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=cc8c407dfc9b5e50b02692077db589d5365bbf1f;p=notmuch-old

contrib: pick: remove temporary keybinding

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.
---

diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el
index 3afdea4a..0aa651ee 100644
--- a/contrib/notmuch-pick/notmuch-pick.el
+++ b/contrib/notmuch-pick/notmuch-pick.el
@@ -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")