aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-10-21 21:31:47 +0000
committerRichard M. Stallman <[email protected]>1994-10-21 21:31:47 +0000
commitff8e5528bd02f883ac39dc1f3b47b6f5a0269308 (patch)
tree4152b5fea258e588657a944ed4bed0babc2fd66b
parent8837853eb5a7543c761a440031a48452e10f7074 (diff)
(sendmail-synch-aliases): Check MAILRC envvar.
-rw-r--r--lisp/mail/sendmail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 52a9abefe6..4aeed5e8b9 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -179,7 +179,7 @@ actually occur.")
"Normal hook run before sending mail, in Mail mode.")
(defun sendmail-synch-aliases ()
- (let ((modtime (nth 5 (file-attributes "~/.mailrc"))))
+ (let ((modtime (nth 5 (file-attributes (or (getenv "MAILRC") "~/.mailrc")))))
(or (equal mail-alias-modtime modtime)
(setq mail-alias-modtime modtime
mail-aliases t))))