* mu4e: explicitly set value for mail-header-separator (to prevent user misconfiguration)

This commit is contained in:
djcb 2012-09-09 13:16:19 +03:00
parent cd0589b1b3
commit 66e89e75fe
1 changed files with 5 additions and 0 deletions

View File

@ -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