* mu4e-compose.el: don't add superfluous newlines when saving

This commit is contained in:
djcb 2012-07-31 17:03:53 +03:00
parent f1a2e94b1a
commit b4443d1eae
1 changed files with 2 additions and 2 deletions

View File

@ -243,10 +243,10 @@ separator is never written to file. Also see
(goto-char (point-min))
;; search for the first empty line
(if (search-forward-regexp "^$" nil t)
(replace-match (concat sepa "\n"))
(replace-match (concat sepa))
(progn ;; no empty line? then prepend one
(goto-char (point-max))
(insert "\n" sepa "\n"))))))
(insert "\n" sepa))))))
(defun mu4e~compose-remove-mail-header-separator ()
"Remove `mail-header-separator; we do this before saving a