aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-06-06 11:23:27 -0400
committerKyle Meyer <kyle@kyleam.com>2020-06-06 15:09:32 -0400
commit9faded3f5324b83a63d98550cbcef74dcc1e0bd4 (patch)
tree414e2a6bbeaa4c71d9b70549622cd40c9e28b9e4
parent6a61ff58c159a8b46408b99825c3c2ff420a20e0 (diff)
downloadpiem-9faded3f5324b83a63d98550cbcef74dcc1e0bd4.tar.gz
Use appropriate message-narrow-* variant
In 0b81766 (notmuch: Use more specific message-narrow-to-* variant, 2020-05-10), I described the distinction between -head and -headers, but I flipped around which was which! -head is the one that narrows based on newlines.
-rw-r--r--piem.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/piem.el b/piem.el
index b764616..7b51d34 100644
--- a/piem.el
+++ b/piem.el
@@ -250,7 +250,7 @@ a one-patch series), COVER may be nil."
(with-temp-buffer
(insert-file-contents (or cover patches))
(let ((info (save-restriction
- (message-narrow-to-headers)
+ (message-narrow-to-head)
(list :date (message-fetch-field "date")
:from (message-fetch-field "from")
:subject (message-fetch-field "subject")))))