diff options
| author | Richard M. Stallman | 1997-07-29 02:15:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-29 02:15:28 +0000 |
| commit | 9a2fe7b2040ff4736f731ba546b15de3d9db82e1 (patch) | |
| tree | 92dd390bc57ef68ed6af6adc144e786d1bd2306c | |
| parent | 249443b6915d16b12800ecbd0f1e1eba4fedcb00 (diff) | |
| download | emacs-9a2fe7b2040ff4736f731ba546b15de3d9db82e1.tar.gz emacs-9a2fe7b2040ff4736f731ba546b15de3d9db82e1.zip | |
(rmail-resend): Use user-mail-address.
| -rw-r--r-- | lisp/mail/rmail.el | 7 |
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 | |||
| 2636 | addresses separated by commas, or a list of addresses. | 2636 | addresses separated by commas, or a list of addresses. |
| 2637 | 2637 | ||
| 2638 | Optional FROM is the address to resend the message from, and | 2638 | Optional FROM is the address to resend the message from, and |
| 2639 | defaults to the username of the person redistributing the message. | 2639 | defaults from the value of `user-mail-address'. |
| 2640 | Optional COMMENT is a string that will be inserted as a comment in the | 2640 | Optional COMMENT is a string to insert as a comment in the resent message. |
| 2641 | resent message. | ||
| 2642 | Optional ALIAS-FILE is alternate aliases file to be used by sendmail, | 2641 | Optional ALIAS-FILE is alternate aliases file to be used by sendmail, |
| 2643 | typically for purposes of moderating a list." | 2642 | typically 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) |