changeset 9644:2c7688eb344e

(define-mail-alias): Check MAILRC envvar.
author Richard M. Stallman <rms@gnu.org>
date Fri, 21 Oct 1994 21:30:38 +0000
parents 5d1e70b22a93
children daf5fb7333c3
files lisp/mail/mailalias.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/mailalias.el	Fri Oct 21 20:31:43 1994 +0000
+++ b/lisp/mail/mailalias.el	Fri Oct 21 21:30:38 1994 +0000
@@ -170,7 +170,7 @@
   (if (eq mail-aliases t)
       (progn
 	(setq mail-aliases nil)
-	(if (file-exists-p "~/.mailrc")
+	(if (file-exists-p (or (getenv "MAILRC") "~/.mailrc"))
 	    (build-mail-aliases))))
   ;; strip garbage from front and end
   (if (string-match "\\`[ \t\n,]+" definition)