]> git.notmuchmail.org Git - notmuch/commit
emacs: mua: check for misplaced secure mml tags
authorMark Walters <markwalters1009@gmail.com>
Sat, 8 Oct 2016 20:05:23 +0000 (21:05 +0100)
committerDavid Bremner <david@tethera.net>
Sun, 9 Oct 2016 11:53:14 +0000 (08:53 -0300)
commit9259c7971d0839b4fcfda348c33761048b441064
tree9ac02ec23c1efa7282b0c1ffd6d4a474740844d8
parent025bf3cd4af73020e1657dbb20e13cc0711b8d68
emacs: mua: check for misplaced secure mml tags

Emacs message-send seems to ignore a secure mml tag anywhere except at
the start of the body, and it must be followed by a newline. Since
this is almost certainly not desired we check for it, and require user
confirmation before sending.

As the setup before message-send or message-send-and-exit is getting
more complicated it is convenient to unify the two correspoinding
notmuch functions.
emacs/notmuch-mua.el