Merge pull request #430 from taurgal/master

* mu4e: Add revert-buffer support to the mu4e main buffer
This commit is contained in:
Dirk-Jan C. Binnema
2014-06-05 22:01:52 +03:00
2 changed files with 32 additions and 8 deletions

View File

@ -301,9 +301,14 @@ You can append flags."
(format-time-string "%Y%m%d" (current-time))
(random 255) (random 65535) hostname (or flagstr ""))))
;; New
;; Automatically add a date to new drafts, so one can
;; sort drafts by date.
(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.")