aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/url/url-mailto.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/url/url-mailto.el b/lisp/url/url-mailto.el
index 9f20989a0b1..6585ba8e458 100644
--- a/lisp/url/url-mailto.el
+++ b/lisp/url/url-mailto.el
@@ -100,7 +100,9 @@
100 (while args 100 (while args
101 (if (string= (caar args) "body") 101 (if (string= (caar args) "body")
102 (progn 102 (progn
103 (goto-char (point-max)) 103 (goto-char (point-min))
104 (or (search-forward (concat "\n" mail-header-separator "\n") nil t)
105 (goto-char (point-max)))
104 (insert (mapconcat 106 (insert (mapconcat
105 #'(lambda (string) 107 #'(lambda (string)
106 (replace-regexp-in-string "\r\n" "\n" string)) 108 (replace-regexp-in-string "\r\n" "\n" string))