(rmail-forward): Insert the text right after the header separator.
authorRichard M. Stallman <rms@gnu.org>
Wed, 15 Sep 1993 22:59:12 +0000 (22:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 15 Sep 1993 22:59:12 +0000 (22:59 +0000)
lisp/mail/rmail.el

index 9ab9c86..0967237 100644 (file)
@@ -1829,7 +1829,8 @@ see the documentation of `rmail-resend'."
                               (current-buffer)
                               rmail-current-message)))
          (save-excursion
-           (goto-char (point-max))
+           ;; Insert after header separator--before signature if any.
+           (search-forward-regexp (concat "^" mail-header-separator))
            (forward-line 1)
            (insert-buffer forward-buffer))))))