From: Richard M. Stallman Date: Tue, 29 Jul 1997 02:15:28 +0000 (+0000) Subject: (rmail-resend): Use user-mail-address. X-Git-Tag: emacs-20.1~915 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9a2fe7b2040ff4736f731ba546b15de3d9db82e1;p=emacs.git (rmail-resend): Use user-mail-address. --- 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 addresses separated by commas, or a list of addresses. Optional FROM is the address to resend the message from, and -defaults to the username of the person redistributing the message. -Optional COMMENT is a string that will be inserted as a comment in the -resent message. +defaults from the value of `user-mail-address'. +Optional COMMENT is a string to insert as a comment in the resent message. Optional ALIAS-FILE is alternate aliases file to be used by sendmail, typically for purposes of moderating a list." (interactive "sResend to: ") (require 'sendmail) (require 'mailalias) - (if (not from) (setq from (user-login-name))) + (if (not from) (setq from user-mail-address)) (let ((tembuf (generate-new-buffer " sendmail temp")) (mail-header-separator "") (case-fold-search nil)