aboutsummaryrefslogtreecommitdiff
path: root/piem.el
diff options
context:
space:
mode:
Diffstat (limited to 'piem.el')
-rw-r--r--piem.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/piem.el b/piem.el
index 63c358a..9dc7f3e 100644
--- a/piem.el
+++ b/piem.el
@@ -601,8 +601,11 @@ public-inbox's configuration), return the value of
(rx line-start (zero-or-one space) line-end))))
(cond
((looking-at-p
+ ;; git-format-patch switched to "Message-ID" spelling
+ ;; in v2.41.
(rx line-start
- "Message-Id: <" (one-or-more not-newline) ">"
+ "Message-" (or "Id" "ID")
+ ": <" (one-or-more not-newline) ">"
line-end))
(throw 'has-message-id nil))
((looking-at-p