From 66e89e75fecf2779e50bd2e1b7e5694044a89ab8 Mon Sep 17 00:00:00 2001 From: djcb Date: Sun, 9 Sep 2012 13:16:19 +0300 Subject: [PATCH] * mu4e: explicitly set value for mail-header-separator (to prevent user misconfiguration) --- mu4e/mu4e-compose.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mu4e/mu4e-compose.el b/mu4e/mu4e-compose.el index 2f032c6d..39741bf5 100644 --- a/mu4e/mu4e-compose.el +++ b/mu4e/mu4e-compose.el @@ -486,6 +486,11 @@ needed, set the Fcc header, and register the handler function." (let ((message-hidden-headers mu4e~compose-hidden-headers)) (use-local-map mu4e-compose-mode-map) + ;; we set this here explicitly, since (as it has happened) a wrong + ;; value for this (such as "") breaks address completion and other things + (set (make-local-variable 'mail-header-separator) + (purecopy "--text follows this line--")) + (make-local-variable 'message-default-charset) ;; if the default charset is not set, use UTF-8 (unless message-default-charset