(gnus-display-mime): Make sure body ends with newline.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 14 Jun 2006 09:56:16 +0000 (09:56 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 14 Jun 2006 09:56:16 +0000 (09:56 +0000)
lisp/ChangeLog
lisp/gnus-art.el

index 771f174..68b114c 100644 (file)
@@ -1,3 +1,7 @@
+2006-06-14  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (gnus-display-mime): Make sure body ends with newline.
+
 2006-06-11  Reiner Steib  <Reiner.Steib@gmx.de>
 
        * gnus-art.el (gnus-article-toggle-truncate-lines): Fix code.
index 329f055..7702f05 100644 (file)
@@ -5242,7 +5242,11 @@ N is the numerical prefix."
              (article-goto-body)
              (narrow-to-region (point-min) (point))
              (gnus-article-save-original-date
-              (gnus-treat-article 'head)))))))))
+              (gnus-treat-article 'head)))))))
+    ;; Cope with broken MIME messages.
+    (goto-char (point-max))
+    (unless (bolp)
+      (insert "\n"))))
 
 (defcustom gnus-mime-display-multipart-as-mixed nil
   "Display \"multipart\" parts as  \"multipart/mixed\".