Commit 7725fbc5 authored by Eric Abrahamsen's avatar Eric Abrahamsen

Remove the Date header from message-draft-headers

* lisp/gnus/message.el (message-draft-headers): The Date header should
reflect when the message is sent, not when it was saved or delayed.
parent 0128375a
Pipeline #5056 passed with stage
in 52 minutes and 41 seconds
......@@ -75,7 +75,11 @@ DELAY is a string, giving the length of the time. Possible values are:
variable `gnus-delay-default-hour', minute and second are zero.
* hh:mm for a specific time. Use 24h format. If it is later than this
time, then the deadline is tomorrow, else today."
time, then the deadline is tomorrow, else today.
The value of `message-draft-headers' determines which headers are
generated when the article is delayed. Remaining headers are
generated when the article is sent."
(interactive
(list (read-string
"Target date (YYYY-MM-DD), time (hh:mm), or length of delay (units in [mhdwMY]): "
......
......@@ -215,9 +215,9 @@ Also see `message-required-news-headers' and
:link '(custom-manual "(message)Message Headers")
:type '(repeat sexp))
(defcustom message-draft-headers '(References From Date)
(defcustom message-draft-headers '(References From)
"Headers to be generated when saving a draft message."
:version "22.1"
:version "28.1"
:group 'message-news
:group 'message-headers
:link '(custom-manual "(message)Message Headers")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment