diff options
| author | djcb <djcb@djcbsoftware.nl> | 2014-05-04 10:51:44 -0700 |
|---|---|---|
| committer | djcb <djcb@djcbsoftware.nl> | 2014-05-04 10:51:44 -0700 |
| commit | 5ab30cbc0998f209f3037255c5a3182e5151b75c (patch) | |
| tree | 489d2e5d7fa0a4b820fe88fb5a76ac9c5b14db1d /mu4e | |
| parent | abe7ed306d7a84042b1205c2c7e4dadea3222467 (diff) | |
* mu4e: don't add rogue \n where re-editing
Diffstat (limited to 'mu4e')
| -rw-r--r-- | mu4e/mu4e-compose.el | 1 | ||||
| -rw-r--r-- | mu4e/mu4e-draft.el | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/mu4e/mu4e-compose.el b/mu4e/mu4e-compose.el index 044c8c2..2320e1b 100644 --- a/mu4e/mu4e-compose.el +++ b/mu4e/mu4e-compose.el @@ -356,7 +356,6 @@ tempfile)." ;; insert mail-header-separator, which is needed by message mode to separate ;; headers and body. will be removed before saving to disk (mu4e~draft-insert-mail-header-separator) - (insert "\n") ;; insert a newline after header separator ;; include files -- e.g. when forwarding a message with attachments, ;; we take those from the original. (save-excursion diff --git a/mu4e/mu4e-draft.el b/mu4e/mu4e-draft.el index 22195b5..0b622be 100644 --- a/mu4e/mu4e-draft.el +++ b/mu4e/mu4e-draft.el @@ -254,7 +254,7 @@ separator is never written to the message file. Also see ;; search for the first empty line (goto-char (point-min)) (if (search-forward-regexp "^$" nil t) - (replace-match (concat sepa)) + (replace-match sepa) (progn ;; no empty line? then prepend one (goto-char (point-max)) (insert "\n" sepa)))))) |
