(rmail-output): Insert newline only if necessary.
authorRichard M. Stallman <rms@gnu.org>
Wed, 21 Oct 1998 18:08:17 +0000 (18:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 21 Oct 1998 18:08:17 +0000 (18:08 +0000)
lisp/mail/rmailout.el

index 7ced999..a029f5e 100644 (file)
@@ -295,7 +295,7 @@ The optional fourth argument FROM-GNUS is set when called from GNUS."
          (erase-buffer)
          (insert-buffer-substring rmailbuf)
          (rmail-delete-unwanted-fields t)
-         (insert "\n")
+         (or (bolp) (insert "\n"))
          (goto-char (point-min))
          (if mail-from
              (insert mail-from "\n")