1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-20 06:46:50 +02:00

Automatically insert a date field in the new drafts headers.

So that one can see when a draft was composed when browsing the
draft maildir (instead of getting "None" in the Date column). Then one
can sort the drafts by date.
This commit is contained in:
Bosché Aurélien 2014-05-24 19:30:13 +02:00
parent c426bc1621
commit fdbc1d6f9a

View File

@ -303,7 +303,9 @@ You can append flags."
(defun mu4e~draft-common-construct ()
"Construct the common headers for each message."
(mu4e~draft-header "User-agent" (mu4e~draft-user-agent-construct)))
(mu4e~draft-header "User-agent" (mu4e~draft-user-agent-construct))
(mu4e~draft-header "Date" (message-make-date)))
(defconst mu4e~draft-reply-prefix "Re: "
"String to prefix replies with.")