aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Lillibridge2011-11-22 23:49:53 -0800
committerGlenn Morris2011-11-22 23:49:53 -0800
commitd2992a38a4186067221287314d8dd6b2d4f31d7e (patch)
tree45c5b2d8b8dc0116502244a00143122c6cc88db0
parent8038d2d2900195ee31941abe6d3b5df2ed7f75d9 (diff)
downloademacs-d2992a38a4186067221287314d8dd6b2d4f31d7e.tar.gz
emacs-d2992a38a4186067221287314d8dd6b2d4f31d7e.zip
* lisp/mail/unrmail.el (unrmail): Always add blank line. (tiny change)
Fixes: debbugs:7743
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/mail/unrmail.el5
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2a154b65890..bcb3dc56c80 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2
3 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4
12011-11-23 Glenn Morris <rgm@gnu.org> 52011-11-23 Glenn Morris <rgm@gnu.org>
2 6
3 * mail/rmail.el (rmail-forward): 7 * mail/rmail.el (rmail-forward):
diff --git a/lisp/mail/unrmail.el b/lisp/mail/unrmail.el
index 9ed2e90b456..652693209e8 100644
--- a/lisp/mail/unrmail.el
+++ b/lisp/mail/unrmail.el
@@ -231,10 +231,9 @@ For example, invoke `emacs -batch -f batch-unrmail RMAIL'."
231 (while (search-forward "\nFrom " nil t) 231 (while (search-forward "\nFrom " nil t)
232 (forward-char -5) 232 (forward-char -5)
233 (insert ?>))) 233 (insert ?>)))
234 ;; Make sure the message ends with two newlines
235 (goto-char (point-max)) 234 (goto-char (point-max))
236 (unless (looking-back "\n\n") 235 ;; Add terminator blank line to message.
237 (insert "\n")) 236 (insert "\n")
238 ;; Write it to the output file, suitably encoded. 237 ;; Write it to the output file, suitably encoded.
239 (let ((coding-system-for-write coding)) 238 (let ((coding-system-for-write coding))
240 (write-region (point-min) (point-max) to-file t 239 (write-region (point-min) (point-max) to-file t