mu4e-compose: clear undo-list after entering compose mode

Fixes #1525.
This commit is contained in:
Dirk-Jan C. Binnema
2020-02-26 21:11:06 +02:00
parent 0e75f84228
commit d4c959ea90

View File

@ -655,6 +655,8 @@ tempfile)."
(mu4e~compose-hide-headers)
;; switch on the mode
(mu4e-compose-mode)
;; don't allow undoing anything before this.
(setq buffer-undo-list nil)
;; set mu4e-compose-type once more for this buffer,
;; we loose it after the mode-change, it seems