aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2023-04-30 18:15:52 -0400
committerKyle Meyer <kyle@kyleam.com>2023-04-30 20:29:15 -0400
commitf6c0755da48fcd2aa6c630776cf94e868948fc10 (patch)
treebb9acdf9653764ee89ad4a1442a614c00e89861d
parent423a9481e468e2a16d52107b427d9e9a32e3de71 (diff)
downloadpiem-f6c0755da48fcd2aa6c630776cf94e868948fc10.tar.gz
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>
-rw-r--r--piem.el2
-rw-r--r--tests/piem-rmail-tests.el2
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 <a@example.com>
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>