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 [EMACS_22_BASE]


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

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Chong Yidong <cyd>      07/05/29 15:30:06

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