* mu4e-drafts: make the draft file the same as the mu-maildir function generates

This commit is contained in:
djcb
2013-05-22 00:22:20 +03:00
parent 2ae389afe1
commit f6035fd5db

View File

@ -264,9 +264,9 @@ You can append flags."
(save-match-data (save-match-data
(substring system-name (substring system-name
(string-match "^[^.]+" system-name) (match-end 0)))))) (string-match "^[^.]+" system-name) (match-end 0))))))
(format "%s-%x%x.%s:2,%s" (format "%s-%02x%04x-%s:2,%s"
(format-time-string "%Y%m%d" (current-time)) (format-time-string "%Y%m%d" (current-time))
(emacs-pid) (random t) hostname (or flagstr "")))) (random 255) (random 65535) hostname (or flagstr ""))))
(defun mu4e~draft-common-construct () (defun mu4e~draft-common-construct ()
"Construct the common headers for each message." "Construct the common headers for each message."