Actually remove the Mail-Followup-To header iff empty
* lisp/gnus/message.el (message-send-mail): Pass a fixed string instead of regexp to 'message-remove-header' (Bug#74658). Copyright-paperwork-exempt: yes
This commit is contained in:
@@ -4900,7 +4900,7 @@ If you always want Gnus to send messages in one piece, set
|
||||
message-required-mail-headers))
|
||||
;; otherwise, delete the MFT header if the field is empty
|
||||
(when (equal "" (mail-fetch-field "mail-followup-to"))
|
||||
(message-remove-header "^Mail-Followup-To:")))
|
||||
(message-remove-header "Mail-Followup-To")))
|
||||
;; Insert some headers.
|
||||
(let ((message-deletable-headers
|
||||
(if news nil message-deletable-headers)))
|
||||
|
||||
Reference in New Issue
Block a user