mirror of https://github.com/djcb/mu.git
mu4e: widen buffer after save
Otherwise, undo won't work. Fixes issue #1047.
This commit is contained in:
parent
8f1f88ce0a
commit
7d895dbd69
|
@ -285,6 +285,7 @@ appear on disk."
|
|||
(mu4e~draft-insert-mail-header-separator)
|
||||
;; hide some headers again
|
||||
(mu4e~compose-hide-headers)
|
||||
(widen)
|
||||
(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
|
||||
|
|
Loading…
Reference in New Issue