]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-forward): Insert separator before and after message.
authorRichard M. Stallman <rms@gnu.org>
Sun, 18 Sep 1994 09:09:43 +0000 (09:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 18 Sep 1994 09:09:43 +0000 (09:09 +0000)
lisp/mail/rmail.el

index 73903f102038873b22b4e754f9875685fae59f25..617fc3da36b930e6e0e6c04c485d56fa98feadaf 100644 (file)
@@ -2016,7 +2016,13 @@ see the documentation of `rmail-resend'."
            (search-forward-regexp
             (concat "^" (regexp-quote mail-header-separator) "$"))
            (forward-line 1)
-           (insert-buffer forward-buffer))))))
+           (insert "------- Start of forwarded message -------\n")
+           (insert-buffer forward-buffer)
+           (forward-line -1)
+           (exchange-point-and-mark)
+           (insert "------- End of forwarded message -------\n")
+           (forward-line -1)
+            (exchange-point-and-mark))))))
 
 (defun rmail-resend (address &optional from comment mail-alias-file)
   "Resend current message to ADDRESSES.