]> git.notmuchmail.org Git - notmuch/commit
emacs: Rework crypto switch toggle.
authorDavid Edmondson <dme@dme.org>
Wed, 8 Feb 2012 08:02:10 +0000 (08:02 +0000)
committerDavid Bremner <bremner@debian.org>
Sun, 12 Feb 2012 16:58:21 +0000 (11:58 -0500)
commit19ec74c50ebbf7f31997384e62b799fde99e7213
treef6c6ad6cbde1e7d7e1199f4a50b542e66fa15178
parent5d021e52e2c39db224764e5e1d7f08b5e4068d77
emacs: Rework crypto switch toggle.

Re-work the existing crypto switch toggle to be based on a persistant
buffer-local variable.

To allow this, modify `notmuch-show-refresh-view' to erase and re-draw
in the current buffer rather than killing the current buffer and
creating a new one. (This will also allow more per-buffer behaviour in
future patches.)

Add a binding ('$') to toggle crypto processing of the current buffer
and remove the prefix argument approach that achieves a similar
result.
emacs/notmuch-show.el
emacs/notmuch.el