From: Thomas Roessler Date: Thu, 10 Aug 2000 12:13:27 +0000 (+0000) Subject: Tell mutt about the MAILDIR environment variable DJB talks about in X-Git-Tag: mutt-1-3-8-rel~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71ad8d11771a43c5c68bd0cfc33697ebb17734b1;p=mutt Tell mutt about the MAILDIR environment variable DJB talks about in maildir (5). --- diff --git a/init.c b/init.c index fefaaa61..8f45724b 100644 --- a/init.c +++ b/init.c @@ -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