]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-summary-forward): Accept prefix arg
authorRichard M. Stallman <rms@gnu.org>
Sun, 14 Nov 1993 05:50:47 +0000 (05:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 14 Nov 1993 05:50:47 +0000 (05:50 +0000)
and pass it to rmail-forward.

lisp/mail/rmailsum.el

index 95d99a2d0f5a3dfb5cc2be2dc47e540898f92e33..d5194618c7ea22e67262f2c7ab66b564efc34314 100644 (file)
@@ -994,12 +994,14 @@ the body of the original message; otherwise copy the current message."
   (interactive)
   (mail-send-and-exit t))
 
-(defun rmail-summary-forward ()
-  "Forward the current message to another user."
-  (interactive)
+(defun rmail-summary-forward (resend)
+  "Forward the current message to another user.
+With prefix argument, \"resend\" the message instead of forwarding it;
+see the documentation of `rmail-resend'."
+  (interactive "P")
   (save-excursion
     (set-buffer rmail-buffer)
-    (rmail-forward)
+    (rmail-forward resend)
     (use-local-map (copy-keymap (current-local-map)))
     (define-key (current-local-map)
       "\C-c\C-c" 'rmail-summary-send-and-exit)))