emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/url/url-mailto.el,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/url/url-mailto.el,v
Date: Tue, 29 May 2007 15:31:08 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      07/05/29 15:31:08

Index: url-mailto.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/url/url-mailto.el,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- url-mailto.el       21 Jan 2007 03:24:41 -0000      1.17
+++ url-mailto.el       29 May 2007 15:31:08 -0000      1.18
@@ -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))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]