aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-10-11 17:07:27 +0000
committerRichard M. Stallman1994-10-11 17:07:27 +0000
commit4986bd386fe914f943bb2e93deca40a2a6d4f742 (patch)
tree0623164ca2752e719dda9f58e960677bca50aa75
parent7e5c230dc5c984cf429b7be38854694df1ff7aaf (diff)
downloademacs-4986bd386fe914f943bb2e93deca40a2a6d4f742.tar.gz
emacs-4986bd386fe914f943bb2e93deca40a2a6d4f742.zip
(rmail-summary-resend): New function.
(rmail-summary-mode-map - resend): Call rmail-summary-resend instead of rmail-resend.
-rw-r--r--lisp/mail/rmailsum.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index fd037cba9d8..b9cd9b6f4c3 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -733,7 +733,7 @@ Commands for sorting the summary:
733 '("Continue" . rmail-summary-continue)) 733 '("Continue" . rmail-summary-continue))
734 734
735(define-key rmail-summary-mode-map [menu-bar mail resend] 735(define-key rmail-summary-mode-map [menu-bar mail resend]
736 '("Re-send..." . rmail-resend)) 736 '("Re-send..." . rmail-summary-resend))
737 737
738(define-key rmail-summary-mode-map [menu-bar mail forward] 738(define-key rmail-summary-mode-map [menu-bar mail forward]
739 '("Forward" . rmail-summary-forward)) 739 '("Forward" . rmail-summary-forward))
@@ -1120,6 +1120,13 @@ see the documentation of `rmail-resend'."
1120 (use-local-map (copy-keymap (current-local-map))) 1120 (use-local-map (copy-keymap (current-local-map)))
1121 (define-key (current-local-map) 1121 (define-key (current-local-map)
1122 "\C-c\C-c" 'rmail-summary-send-and-exit))) 1122 "\C-c\C-c" 'rmail-summary-send-and-exit)))
1123
1124(defun rmail-summary-resend ()
1125 "Resend current message using 'rmail-resend'."
1126 (interactive)
1127 (save-excursion
1128 (set-buffer rmail-buffer)
1129 (call-interactively 'rmail-resend)))
1123 1130
1124;; Summary output commands. 1131;; Summary output commands.
1125 1132