[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp ChangeLog mail/unrmail.el [EMACS_23_1_RC]
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] emacs/lisp ChangeLog mail/unrmail.el [EMACS_23_1_RC] |
Date: |
Wed, 08 Jul 2009 03:11:05 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_23_1_RC
Changes by: Chong Yidong <cyd> 09/07/08 03:11:05
Modified files:
lisp : ChangeLog
lisp/mail : unrmail.el
Log message:
* mail/unrmail.el (unrmail): Make sure the message ends with two
newlines (Bug#3769).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&only_with_tag=EMACS_23_1_RC&r1=1.15702.2.19&r2=1.15702.2.20
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/mail/unrmail.el?cvsroot=emacs&only_with_tag=EMACS_23_1_RC&r1=1.38&r2=1.38.2.1
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.15702.2.19
retrieving revision 1.15702.2.20
diff -u -b -r1.15702.2.19 -r1.15702.2.20
--- ChangeLog 8 Jul 2009 02:18:12 -0000 1.15702.2.19
+++ ChangeLog 8 Jul 2009 03:10:59 -0000 1.15702.2.20
@@ -1,3 +1,8 @@
+2009-07-08 E. Jay Berkenbilt <address@hidden> (tiny change)
+
+ * mail/unrmail.el (unrmail): Make sure the message ends with two
+ newlines (Bug#3769).
+
2009-07-08 Kenichi Handa <address@hidden>
* language/japanese.el (japanese-shift-jis-2004): Fix typo in the
Index: mail/unrmail.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/mail/unrmail.el,v
retrieving revision 1.38
retrieving revision 1.38.2.1
diff -u -b -r1.38 -r1.38.2.1
--- mail/unrmail.el 10 Apr 2009 11:53:59 -0000 1.38
+++ mail/unrmail.el 8 Jul 2009 03:11:04 -0000 1.38.2.1
@@ -232,6 +232,10 @@
(while (search-forward "\nFrom " nil t)
(forward-char -5)
(insert ?>)))
+ ;; Make sure the message ends with two newlines
+ (goto-char (point-max))
+ (unless (looking-back "\n\n")
+ (insert "\n"))
;; Write it to the output file, suitably encoded.
(let ((coding-system-for-write coding))
(write-region (point-min) (point-max) to-file t
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs/lisp ChangeLog mail/unrmail.el [EMACS_23_1_RC],
Chong Yidong <=