summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-09-15 22:59:12 +0000
committerRichard M. Stallman <rms@gnu.org>1993-09-15 22:59:12 +0000
commit0f0a85b310ae2016c91153fd69e6fdff8b5e72a1 (patch)
tree3c42f9170428132d4a0e53fe73bb92862b91afa8
parent1f111018045d392253c3682648193a62c8501906 (diff)
downloademacs-0f0a85b310ae2016c91153fd69e6fdff8b5e72a1.tar.gz
(rmail-forward): Insert the text right after the header separator.
-rw-r--r--lisp/mail/rmail.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 9ab9c86f11f..096723725d6 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -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))))))