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.
This commit is contained in:
Mark Walters 2016-09-21 16:49:18 +01:00 committed by David Bremner
parent cbeb0685c7
commit 8a20400490

View file

@ -258,6 +258,7 @@ FUNC."
(define-key map (kbd "<backtab>") (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))