From 8a20400490df27812780b349c1805e258cbac99c Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Wed, 21 Sep 2016 16:49:18 +0100 Subject: [PATCH] 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. --- emacs/notmuch-tree.el | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.43.0