1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-23 07:16:48 +02:00

* mu4e-compose.el: active mu4e-compose-mode /before/ declaring message as

non-modified
This commit is contained in:
djcb 2012-05-10 17:15:06 +03:00
parent a118c125b5
commit 3504584a86

View File

@ -526,13 +526,13 @@ Gnus' `message-mode'."
(setq mu4e-sent-func 'mu4e-sent-handler)
(mu4e~proc-sent (buffer-file-name) mu4e-drafts-folder)) nil t))
;; set compose mode -- so now hooks can run
(mu4e-compose-mode)
;; buffer is not user-modified yet
(mu4e~compose-set-friendly-buffer-name compose-type)
(set-buffer-modified-p nil)
;; set compose mode -- so now hooks can run
(mu4e-compose-mode)
;; now jump to some use positions, and start writing that mail!
(if (member compose-type '(new forward))
(message-goto-to)