mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(url-mailto): Insert body after mail-header-separator if present, so
that is is before signature. Suggested by Leo Liu <sdl.web@gmail.com>.
This commit is contained in:
parent
345c7f05d8
commit
f93e42baac
1 changed files with 3 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue