* mu4e: set mail-header-separator to some sane value
This commit is contained in:
@ -228,11 +228,6 @@ needed, set the Fcc header, and register the handler function."
|
||||
\\{message-mode-map}."
|
||||
(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
|
||||
|
||||
@ -180,6 +180,11 @@ and the body starts. Note, in `mu4e-compose-mode, we use
|
||||
`before-save-hook' and `after-save-hook' to ensure that this
|
||||
separator is never written to the message file. Also see
|
||||
`mu4e-remove-mail-header-separator'."
|
||||
;; 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--"))
|
||||
|
||||
(save-excursion
|
||||
(let ((sepa (propertize mail-header-separator
|
||||
'intangible t
|
||||
|
||||
Reference in New Issue
Block a user