X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=c1827cc2691f66cb0f566668fede9116bfb62776;hb=b5803e918dbf772536de2bd1017e8888c01bd5a9;hp=c5741b7fdf1e0703c8a680d62a452299678366b8;hpb=a2d78fba200d0342d90cf27f2ac3eb9091911275;p=notmuch 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)