mu4e: compose: tells us what you saved when saving a message

Provide the number of lines saved in a draft message
This commit is contained in:
djcb
2015-03-21 15:23:35 +02:00
parent 7de65b91bc
commit 097b4232e2

View File

@ -224,6 +224,7 @@ appear on disk."
;; hide some headers again
(mu4e~compose-hide-headers)
(set-buffer-modified-p nil)
(mu4e-message "Saved (%d lines)" (count-lines (point-min) (point-max)))
;; update the file on disk -- ie., without the separator
(mu4e~proc-add (buffer-file-name) mu4e~draft-drafts-folder)) nil t))