diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-08-10 12:13:27 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-08-10 12:13:27 +0000 |
commit | 71ad8d11771a43c5c68bd0cfc33697ebb17734b1 (patch) | |
tree | 91698fd111f7b0b2b8beef92e7d5e7ad22a6ef50 /init.c | |
parent | 42ded3ca6f256df3e70f877d9b2616567c0ea475 (diff) |
Tell mutt about the MAILDIR environment variable DJB talks about in
maildir (5).
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1767,6 +1767,8 @@ void mutt_init (int skip_sys_rc, LIST *commands) if ((p = getenv ("MAIL"))) Spoolfile = safe_strdup (p); + else if ((p = getenv ("MAILDIR"))) + Spoolfile = safe_strdup (p); else { #ifdef HOMESPOOL |