From: Mark Walters Date: Wed, 21 Sep 2016 15:49:18 +0000 (+0100) Subject: emacs: tree: allow the user to decrypt the message pane X-Git-Tag: 0.24_rc0~98 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=8a20400490df27812780b349c1805e258cbac99c emacs: tree: allow the user to decrypt the message pane This makes $ in the tree pane toggle decryption in the message pane. Without this the user can only decrypt the message pane by switching to it, or by setting decryption on globally by setting notmuch-crypto-process-mime to t. --- diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index 1ab0810d..220c010d 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -258,6 +258,7 @@ FUNC." (define-key map (kbd "") (notmuch-tree-to-message-pane #'notmuch-show-previous-button)) (define-key map (kbd "TAB") (notmuch-tree-to-message-pane #'notmuch-show-next-button)) (define-key map "e" (notmuch-tree-to-message-pane #'notmuch-tree-button-activate)) + (define-key map "$" (notmuch-tree-to-message-pane #'notmuch-show-toggle-process-crypto)) ;; bindings from show (or elsewhere) but we close the message pane first. (define-key map "f" (notmuch-tree-close-message-pane-and #'notmuch-show-forward-message))