]> git.notmuchmail.org Git - notmuch/commit - emacs/notmuch-maildir-fcc.el
emacs: use cached encoded copy for fcc
authorDavid Bremner <david@tethera.net>
Thu, 20 Jan 2022 03:22:07 +0000 (23:22 -0400)
committerDavid Bremner <david@tethera.net>
Wed, 26 Jan 2022 11:22:09 +0000 (07:22 -0400)
commitda302e1cbaaab89b2bbb32c0f59e1aa6ee708455
tree10494ed1360a2630fbbaaacaa8844e520e5ae824
parent8179c3d1146b6b19c64200f0617c4a1ba7588569
emacs: use cached encoded copy for fcc

This fixes the bug reported by dkg in [1]. The movement of the call to
n-m-setup-message-for-saving is so the cleanup of Fcc headers happens
in the encoded version (otherwise Fcc headers may be saved to disk).

[1]: id:87k1zm225v.fsf@fifthhorseman.net
emacs/notmuch-maildir-fcc.el
test/T350-crypto.sh