* mu4e-send: leave the \n when removing the message/body separator

This commit is contained in:
djcb
2012-03-16 20:39:40 +02:00
parent 0cddc06ec1
commit fb8c36ec7a

View File

@ -379,7 +379,7 @@ using Gnus' `message-mode'."
(save-excursion (save-excursion
(goto-char (point-min)) (goto-char (point-min))
;; remove the --text follows this line-- separator ;; remove the --text follows this line-- separator
(if (search-forward-regexp (concat "^" mail-header-separator "\n")) (if (search-forward-regexp (concat "^" mail-header-separator))
(replace-match "") (replace-match "")
(error "cannot find mail-header-separator")) (error "cannot find mail-header-separator"))
(save-buffer) (save-buffer)