diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mail/sendmail.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 52a9abefe65..4aeed5e8b9e 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)))) |