]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-summary-resend): New function.
authorRichard M. Stallman <rms@gnu.org>
Tue, 11 Oct 1994 17:07:27 +0000 (17:07 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 11 Oct 1994 17:07:27 +0000 (17:07 +0000)
(rmail-summary-mode-map - resend): Call rmail-summary-resend
instead of rmail-resend.

lisp/mail/rmailsum.el

index fd037cba9d861e7416fbb8980760f16c812c88ad..b9cd9b6f4c3001f58d20cd1f69b1b3bd035f68b1 100644 (file)
@@ -733,7 +733,7 @@ Commands for sorting the summary:
   '("Continue" . rmail-summary-continue))
 
 (define-key rmail-summary-mode-map [menu-bar mail resend]
-  '("Re-send..." . rmail-resend))
+  '("Re-send..." . rmail-summary-resend))
 
 (define-key rmail-summary-mode-map [menu-bar mail forward]
   '("Forward" . rmail-summary-forward))
@@ -1120,6 +1120,13 @@ see the documentation of `rmail-resend'."
     (use-local-map (copy-keymap (current-local-map)))
     (define-key (current-local-map)
       "\C-c\C-c" 'rmail-summary-send-and-exit)))
+
+(defun rmail-summary-resend ()
+  "Resend current message using 'rmail-resend'."
+  (interactive)
+  (save-excursion
+    (set-buffer rmail-buffer)
+    (call-interactively 'rmail-resend)))
 \f
 ;; Summary output commands.