# HG changeset patch # User Richard M. Stallman # Date 780172017 0 # Node ID ad8f1cea49ccb1ffebf5e461ccfde224a1b3f276 # Parent 69ac91e85d1e91bc3dc3216131f3223329e1d17d (mail-default-reply-to): Initialize to t. (mail-setup): If it's t, set it from envvar REPLYTO. diff -r 69ac91e85d1e -r ad8f1cea49cc lisp/mail/sendmail.el --- a/lisp/mail/sendmail.el Wed Sep 21 17:02:10 1994 +0000 +++ b/lisp/mail/sendmail.el Wed Sep 21 18:26:57 1994 +0000 @@ -59,7 +59,7 @@ Do not use an rmail file here! Instead, use its inbox file.") ;;;###autoload -(defvar mail-default-reply-to nil +(defvar mail-default-reply-to t "*Address to insert as default Reply-to field of outgoing messages.") ;;;###autoload @@ -174,6 +174,8 @@ mail-aliases t)))) (defun mail-setup (to subject in-reply-to cc replybuffer actions) + (if (eq mail-default-reply-to t) + (setq mail-default-reply-to (getenv "REPLYTO"))) (synch-mail-aliases) (if (eq mail-aliases t) (progn