From f6c0755da48fcd2aa6c630776cf94e868948fc10 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 30 Apr 2023 18:15:52 -0400 Subject: Switch remaining Message-Id headers to Message-ID The two previous commits updated the piem-add-message-id-header functionality for git.git's change from Message-Id to Message-ID. Updates a couple of remaining spots to use Message-ID for consistency. Message-ID: <20230430221552.251335-5-kyle@kyleam.com> --- piem.el | 2 +- tests/piem-rmail-tests.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/piem.el b/piem.el index 01985f0..abc87b1 100644 --- a/piem.el +++ b/piem.el @@ -759,7 +759,7 @@ is used as the value of `browse-url-browser-function'." (save-excursion (message-narrow-to-head-1) (message-fetch-field "message-id" t))) - (error "Message lacks Message-Id header"))))))) + (error "Message lacks Message-ID header"))))))) (cl-incf n-skipped) (let ((case-fold-search nil)) (while (re-search-forward diff --git a/tests/piem-rmail-tests.el b/tests/piem-rmail-tests.el index f56e2f2..7ee0a55 100644 --- a/tests/piem-rmail-tests.el +++ b/tests/piem-rmail-tests.el @@ -38,7 +38,7 @@ To: A Cc: i@inbox.example.com Subject: Re: test Date: Sun, 23 May 2021 02:26:51 -0400 -Message-Id: <456@example.com> +Message-ID: <456@example.com> In-Reply-To: <123@example.com> References: <123@example.com> -- cgit v1.2.3