aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Edmondson <dme@dme.org>2016-02-20 18:24:40 +0000
committerDavid Bremner <david@tethera.net>2016-02-21 08:37:48 -0400
commitd27d90875dfb16720de624a57387451665882c19 (patch)
tree463bca3da91e031c6999b222fdb1bc5554c5b77d /test
parentadefa734e3de8e05713205e686403be4f2236711 (diff)
emacs/mua: Let user specify which parts get a header in citations.
Add a customizable function specifying which parts get a header when replying, and give some sensible possiblities. These are, 1) all parts except multipart/*. (Subparts of a multipart part do receive a header button.) 2) only included text/* parts. 3) Exactly as in the show buffer. 4) None at all. This means the reply contains a mish-mash of all the original message's parts. In the test suite we set the choice to option 4 to match the previous behaviour.
Diffstat (limited to 'test')
-rw-r--r--test/test-lib.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-lib.el b/test/test-lib.el
index 596a7051..02e020c1 100644
--- a/test/test-lib.el
+++ b/test/test-lib.el
@@ -184,6 +184,10 @@ nothing."
(setq notmuch-tag-deleted-formats
'((".*" nil)))
+;; For historical reasonse we don't print part headers when replying
+;; in the tests suite
+(setq notmuch-mua-reply-insert-header-p-function 'notmuch-show-reply-insert-header-p-never)
+
;; force a common html renderer, to avoid test variations between
;; environments