* mu4e: hide headers again after (widen)

This commit is contained in:
djcb 2013-05-22 08:06:19 +03:00
parent f6035fd5db
commit f01f85d7e7
1 changed files with 3 additions and 0 deletions

View File

@ -201,6 +201,9 @@ appear on disk."
(lambda ()
(mu4e~compose-set-friendly-buffer-name)
(mu4e~draft-insert-mail-header-separator)
;; hide some headers again
(let ((message-hidden-headers mu4e~compose-hidden-headers))
(message-hide-headers))
(set-buffer-modified-p nil)
;; update the file on disk -- ie., without the separator
(mu4e~proc-add (buffer-file-name) mu4e~draft-drafts-folder)) nil t))