1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

(sendmail-synch-aliases): Check MAILRC envvar.

This commit is contained in:
Richard M. Stallman 1994-10-21 21:31:47 +00:00
parent 8837853eb5
commit ff8e5528bd

View file

@ -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))))