]> git.cworth.org Git - notmuch/commitdiff
test/emacs: adapt to breaking change in Gnus defaults
authorDavid Bremner <david@tethera.net>
Sun, 20 Aug 2023 17:32:02 +0000 (14:32 -0300)
committerDavid Bremner <david@tethera.net>
Sun, 20 Aug 2023 17:32:02 +0000 (14:32 -0300)
As of Emacs 29.1, In-Reply-To is in the default value for
message-hidden-headers. We actually want to see that in the test
suite, so remove it again. To future proof the tests, fix a default
value for message-hidden-headers specifically for the test suite.

test/test-lib.el

index 79a9d4d6fc5b574cbd21e6e9bd27039689a2d01a..236dd99edc9da97e4903831ce85127aaa2470082 100644 (file)
@@ -205,3 +205,8 @@ running, quit if it terminated."
 ;; environments
 
 (setq mm-text-html-renderer 'html2text)
+
+;; Set our own default for message-hidden-headers, to avoid tests
+;; breaking when the Emacs default changes.
+(setq message-hidden-headers
+      '("^References:" "^Face:" "^X-Face:" "^X-Draft-From:"))