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:
parent
a118c125b5
commit
3504584a86
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user