# HG changeset patch # User Richard M. Stallman # Date 870142528 0 # Node ID 369a8580b08e98556eb19aa7d035a94ffae52c17 # Parent 469abf255dcbdd4acebfa6813bfb421c82f97efe (rmail-resend): Use user-mail-address. diff -r 469abf255dcb -r 369a8580b08e lisp/mail/rmail.el --- a/lisp/mail/rmail.el Tue Jul 29 00:53:09 1997 +0000 +++ b/lisp/mail/rmail.el Tue Jul 29 02:15:28 1997 +0000 @@ -2636,15 +2636,14 @@ 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)