]> git.notmuchmail.org Git - notmuch/commit
emacs: limit search for attachment to stop at first mime-part
authorÖrjan Ekeberg <ekeberg@kth.se>
Thu, 12 Dec 2019 23:35:35 +0000 (00:35 +0100)
committerDavid Bremner <david@tethera.net>
Sat, 14 Dec 2019 11:28:42 +0000 (07:28 -0400)
commit1d9ec88d878d9817f18c98e71fa8b987d74f0508
tree4d7293296e9ee588aa25aef87287f9f809d5a06d
parent6cd47227de09556dbc611d842c9b4b0f077598fc
emacs: limit search for attachment to stop at first mime-part

This commit changes the behaviour of notmuch-mua-attachment-check
so that it stops searching for notmuch-mua-attachment-regexp when a
new mime-part is reached.  This avoids false warnings when matching
words occur inside forwarded messages.
emacs/notmuch-mua.el