# HG changeset patch # User Chong Yidong # Date 1180452606 0 # Node ID 44d0773e88eacfc02cf4d99434d9fcf20b77f818 # Parent 8a83fb6e9728eeff35e72ea05ff4790450b8c8b2 (url-mailto): Insert body after mail-header-separator if present, so that is is before signature. Suggested by Leo . diff -r 8a83fb6e9728 -r 44d0773e88ea lisp/url/url-mailto.el --- a/lisp/url/url-mailto.el Tue May 29 15:29:58 2007 +0000 +++ b/lisp/url/url-mailto.el Tue May 29 15:30:06 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))