From 548dc16f67ee5cd2cbbceb960e7b98e80bc48f53 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sun, 20 Oct 2019 16:12:11 +0300 Subject: [PATCH] mu4e-draft: Include a date in draft Unconditionally include a date in draft messages; update it whenever we're saving or sending. --- mu4e/mu4e-draft.el | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/mu4e/mu4e-draft.el b/mu4e/mu4e-draft.el index 400195af..257c6626 100644 --- a/mu4e/mu4e-draft.el +++ b/mu4e/mu4e-draft.el @@ -62,11 +62,8 @@ mu4e-specific version of `message-signature'." :type 'boolean :group 'mu4e-compose) -(defcustom mu4e-compose-auto-include-date nil - "Whether to include a date header. -If nil, only do so when sending the message." - :type 'boolean - :group 'mu4e-compose) +(make-obsolete-variable 'mu4e-compose-auto-include-date + "This is done unconditionally now" "1.3.5") (defcustom mu4e-compose-in-new-frame nil "Whether to compose messages in a new frame." @@ -404,8 +401,7 @@ You can append flags." (concat (when 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: " "String to prefix replies with.")