+2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
+
+ * mail/unrmail.el (unrmail): Make sure the message ends with two
+ newlines (Bug#3769).
+
2009-07-08 Kenichi Handa <handa@m17n.org>
* language/japanese.el (japanese-shift-jis-2004): Fix typo in the
(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