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:
parent
8837853eb5
commit
ff8e5528bd
1 changed files with 1 additions and 1 deletions
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue