aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-29 02:15:28 +0000
committerRichard M. Stallman1997-07-29 02:15:28 +0000
commit9a2fe7b2040ff4736f731ba546b15de3d9db82e1 (patch)
tree92dd390bc57ef68ed6af6adc144e786d1bd2306c
parent249443b6915d16b12800ecbd0f1e1eba4fedcb00 (diff)
downloademacs-9a2fe7b2040ff4736f731ba546b15de3d9db82e1.tar.gz
emacs-9a2fe7b2040ff4736f731ba546b15de3d9db82e1.zip
(rmail-resend): Use user-mail-address.
-rw-r--r--lisp/mail/rmail.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 1318c7040f9..2b2e8cac3fe 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -2636,15 +2636,14 @@ ADDRESSES should be a single address, a string consisting of several
2636addresses separated by commas, or a list of addresses. 2636addresses separated by commas, or a list of addresses.
2637 2637
2638Optional FROM is the address to resend the message from, and 2638Optional FROM is the address to resend the message from, and
2639defaults to the username of the person redistributing the message. 2639defaults from the value of `user-mail-address'.
2640Optional COMMENT is a string that will be inserted as a comment in the 2640Optional COMMENT is a string to insert as a comment in the resent message.
2641resent message.
2642Optional ALIAS-FILE is alternate aliases file to be used by sendmail, 2641Optional ALIAS-FILE is alternate aliases file to be used by sendmail,
2643typically for purposes of moderating a list." 2642typically for purposes of moderating a list."
2644 (interactive "sResend to: ") 2643 (interactive "sResend to: ")
2645 (require 'sendmail) 2644 (require 'sendmail)
2646 (require 'mailalias) 2645 (require 'mailalias)
2647 (if (not from) (setq from (user-login-name))) 2646 (if (not from) (setq from user-mail-address))
2648 (let ((tembuf (generate-new-buffer " sendmail temp")) 2647 (let ((tembuf (generate-new-buffer " sendmail temp"))
2649 (mail-header-separator "") 2648 (mail-header-separator "")
2650 (case-fold-search nil) 2649 (case-fold-search nil)