diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2011-05-28 17:09:44 -0700 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-11-12 20:42:25 -0400 |
commit | 07022714ebd7e54aaa276d1c6f395fb8347a0710 (patch) | |
tree | a5662ced08a52a6d17639826a7a8435312fa7935 /emacs/notmuch.el | |
parent | 64febdf71c4184ca369f5d11d7f196704a3ec1a6 (diff) |
emacs: Unbind M-RET as display of thread with crypto switch.
Use prefix argument instead to set switch.
Diffstat (limited to 'emacs/notmuch.el')
-rw-r--r-- | emacs/notmuch.el | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el index c5741b7f..c1827cc2 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -221,7 +221,6 @@ For a mouse binding, return nil." (define-key map "-" 'notmuch-search-remove-tag) (define-key map "+" 'notmuch-search-add-tag) (define-key map (kbd "RET") 'notmuch-search-show-thread) - (define-key map (kbd "M-RET") 'notmuch-search-show-thread-crypto-switch) map) "Keymap for \"notmuch search\" buffers.") (fset 'notmuch-search-mode-map notmuch-search-mode-map) @@ -421,13 +420,9 @@ Complete list of currently available key bindings: "Return a list of authors for the current region" (notmuch-search-properties-in-region 'notmuch-search-subject beg end)) -(defun notmuch-search-show-thread-crypto-switch () - (interactive) - (notmuch-search-show-thread t)) - (defun notmuch-search-show-thread (&optional crypto-switch) "Display the currently selected thread." - (interactive) + (interactive "P") (let ((thread-id (notmuch-search-find-thread-id)) (subject (notmuch-search-find-subject))) (if (> (length thread-id) 0) |