Followup fix to previous message-update-smtp-method-header change

* lisp/gnus/message.el (message-update-smtp-method-header): Narrow
to the headers first.
This commit is contained in:
Lars Ingebrigtsen 2022-01-21 14:20:31 +01:00
parent 1fefb15aa8
commit d7f0a0538d

View file

@ -4360,6 +4360,7 @@ it is left unchanged."
(let ((from (cadr (mail-extract-address-components
(save-restriction
(widen)
(message-narrow-to-headers-or-head)
(message-fetch-field "From")))))
method)
(catch 'exit