]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/mail/unrmail.el (unrmail): Always add blank line. (tiny change)
authorMark Lillibridge <mark.lillibridge@hp.com>
Wed, 23 Nov 2011 07:49:53 +0000 (23:49 -0800)
committerGlenn Morris <rgm@gnu.org>
Wed, 23 Nov 2011 07:49:53 +0000 (23:49 -0800)
Fixes: debbugs:7743
lisp/ChangeLog
lisp/mail/unrmail.el

index 2a154b6589009a8da65224e76bab4b8c2603bd93..bcb3dc56c803baeecffdbbac19a2107bcc1c7d11 100644 (file)
@@ -1,3 +1,7 @@
+2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
+
+       * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
+
 2011-11-23  Glenn Morris  <rgm@gnu.org>
 
        * mail/rmail.el (rmail-forward):
index 9ed2e90b4561be4aee9e23fb8445c8c9a6b8e77e..652693209e825778c86751a7c630127953c4870d 100644 (file)
@@ -231,10 +231,9 @@ For example, invoke `emacs -batch -f batch-unrmail RMAIL'."
              (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"))
+           ;; Add terminator blank line to message.
+           (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