From c335914caad82a84c6fb373d5468727ca4fbea39 Mon Sep 17 00:00:00 2001 From: Abdo Haji-Ali Date: Sun, 29 Mar 2020 21:03:43 +0100 Subject: [PATCH] (widen) should be called before hiding the headers Was also causing a corrupted header in some cases. --- mu4e/mu4e-compose.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu4e/mu4e-compose.el b/mu4e/mu4e-compose.el index e2704353..e642be7f 100644 --- a/mu4e/mu4e-compose.el +++ b/mu4e/mu4e-compose.el @@ -314,8 +314,8 @@ Message-ID." (mu4e~compose-set-friendly-buffer-name) (mu4e~draft-insert-mail-header-separator) ;; hide some headers again - (mu4e~compose-hide-headers) (widen) + (mu4e~compose-hide-headers) (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