# HG changeset patch # User Chong Yidong # Date 1180452668 0 # Node ID cbb2553eb725808236318ac4a08956dcedc74fb6 # Parent 5199317dbf14250454e61e96a71a80874531ed38 (url-mailto): Insert body after mail-header-separator if present, so that is is before signature. Suggested by Leo . diff -r 5199317dbf14 -r cbb2553eb725 lisp/url/url-mailto.el --- a/lisp/url/url-mailto.el Tue May 29 15:31:01 2007 +0000 +++ b/lisp/url/url-mailto.el Tue May 29 15:31:08 2007 +0000 @@ -100,7 +100,9 @@ (while args (if (string= (caar args) "body") (progn - (goto-char (point-max)) + (goto-char (point-min)) + (or (search-forward (concat "\n" mail-header-separator "\n") nil t) + (goto-char (point-max))) (insert (mapconcat #'(lambda (string) (replace-regexp-in-string "\r\n" "\n" string))