snprintf (buffer, sizeof (buffer), "%s/.mutt/muttrc-%s", NONULL(Homedir), MUTT_VERSION);
if (access(buffer, F_OK) == -1)
snprintf (buffer, sizeof (buffer), "%s/.mutt/muttrc", NONULL(Homedir));
-
+ if (access(buffer, F_OK) == -1) /* default to .muttrc for alias_file */
+ snprintf (buffer, sizeof(buffer), "%s/.muttrc", NONULL(Homedir));
+
default_rc = 1;
Muttrc = safe_strdup (buffer);
}
** .pp
** \fBNote:\fP Mutt will not automatically source this file; you must
** explicitly use the ``$source'' command for it to be executed.
+ ** .pp
+ ** The default for this option is the currently used muttrc file, or
+ ** ``~/.muttrc'' if no user muttrc was found.
*/
{ "alias_format", DT_STR, R_NONE, UL &AliasFmt, UL "%4n %2f %t %-10a %r" },
/*