From 4d3999d85670a29315d67dafbf6385bbf5e5af7d Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 21 Dec 2022 17:29:13 -0700 Subject: mailscripts.el: fix call to message-fetch-field Signed-off-by: Sean Whitton --- mailscripts.el | 1 + 1 file changed, 1 insertion(+) diff --git a/mailscripts.el b/mailscripts.el index a7a8240..3d9183e 100644 --- a/mailscripts.el +++ b/mailscripts.el @@ -301,6 +301,7 @@ See also the interactive wrapper command `mailscripts-prepare-patch'." (if (file-exists-p (car patches)) (with-temp-buffer (insert-file-contents (car patches)) + (message-narrow-to-headers-or-head) (and-let* ((subject (message-fetch-field "subject"))) (if (cdr patches) (and (string-match -- cgit v1.2.3