If you replied to an email which had no subject, then mutt defaulted to
the hard-coded string "Re: your mail".
This has been replaced by a config variable '$empty_subject'
Closes #299
WHERE char *DsnNotify;
WHERE char *DsnReturn;
WHERE char *Editor;
+WHERE char *EmptySubject;
WHERE char *EscChar;
WHERE char *FolderFormat;
WHERE char *ForwFmt;
** .pp
** where \fIstring\fP is the expansion of \fC$$editor\fP described above.
*/
+ { "empty_subject", DT_STR, R_NONE, UL &EmptySubject, UL "Re: your mail" },
+ /*
+ ** .pp
+ ** This varaible specifies the subject to be used when replying to an email
+ ** with an empty subject. It defaults to "Re: your mail".
+ */
{ "encode_from", DT_BOOL, R_NONE, OPTENCODEFROM, 0 },
/*
** .pp
sprintf (env->subject, "Re: %s", curenv->real_subj); /* __SPRINTF_CHECKED__ */
}
else if (!env->subject)
- env->subject = safe_strdup ("Re: your mail");
+ env->subject = safe_strdup (EmptySubject);
}
void mutt_add_to_reference_headers (ENVELOPE *env, ENVELOPE *curenv, LIST ***pp, LIST ***qq)