diff options
| author | Mark Walters <markwalters1009@gmail.com> | 2015-10-15 19:46:34 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-10-17 09:07:16 -0300 |
| commit | 3d38baf35280b9fe2d94a104bb2148e82164996b (patch) | |
| tree | 9b84eac92f70ecc6e6210244096d482d6ee6fb42 | |
| parent | e56fb9785cb060b89b6b4c23e8a10cd0c51c7c2b (diff) | |
emacs: tree bugfix
Formerly replying to an encrypted message in tree-view did not work:
the message was not decrypted. This commit makes notmuch-tree respect
the setting of notmuch-crypto-process-mime. In particular, if
notmuch-crypto-process-mime is set to t, then replying to encrypted
messages in tree mode will now decrypt the reply (as it already did in
show mode).
| -rw-r--r-- | emacs/notmuch-tree.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index 182235e7..5695b684 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -867,6 +867,11 @@ the same as for the function notmuch-tree." (setq notmuch-tree-query-context query-context) (setq notmuch-tree-target-msg target) (setq notmuch-tree-open-target open-target) + ;; Set the default value for `notmuch-show-process-crypto' in this + ;; buffer. Although we don't use this some of the functions we call + ;; (such as reply) do. It is a buffer local variable so setting it + ;; will not affect genuine show buffers. + (setq notmuch-show-process-crypto notmuch-crypto-process-mime) (erase-buffer) (goto-char (point-min)) |
