mu4e-draft: Include a date in draft
Unconditionally include a date in draft messages; update it whenever we're saving or sending.
This commit is contained in:
@ -62,11 +62,8 @@ mu4e-specific version of `message-signature'."
|
|||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'mu4e-compose)
|
:group 'mu4e-compose)
|
||||||
|
|
||||||
(defcustom mu4e-compose-auto-include-date nil
|
(make-obsolete-variable 'mu4e-compose-auto-include-date
|
||||||
"Whether to include a date header.
|
"This is done unconditionally now" "1.3.5")
|
||||||
If nil, only do so when sending the message."
|
|
||||||
:type 'boolean
|
|
||||||
:group 'mu4e-compose)
|
|
||||||
|
|
||||||
(defcustom mu4e-compose-in-new-frame nil
|
(defcustom mu4e-compose-in-new-frame nil
|
||||||
"Whether to compose messages in a new frame."
|
"Whether to compose messages in a new frame."
|
||||||
@ -404,8 +401,7 @@ You can append flags."
|
|||||||
(concat
|
(concat
|
||||||
(when mu4e-user-agent-string
|
(when mu4e-user-agent-string
|
||||||
(mu4e~draft-header "User-agent" mu4e-user-agent-string))
|
(mu4e~draft-header "User-agent" mu4e-user-agent-string))
|
||||||
(when mu4e-compose-auto-include-date
|
(mu4e~draft-header "Date" (message-make-date))))
|
||||||
(mu4e~draft-header "Date" (message-make-date)))))
|
|
||||||
|
|
||||||
(defconst mu4e~draft-reply-prefix "Re: "
|
(defconst mu4e~draft-reply-prefix "Re: "
|
||||||
"String to prefix replies with.")
|
"String to prefix replies with.")
|
||||||
|
|||||||
Reference in New Issue
Block a user