Commit 40ca6e37 40ca6e3746404195ec327fc725d2b28090bac8f0 by Sergey Poznyakoff

(draft_name): Removed.

1 parent c08566b7
Showing 1 changed file with 2 additions and 10 deletions
......@@ -43,7 +43,7 @@ static struct argp_option options[] = {
{"nodraftfolder", ARG_NODRAFTFOLDER, NULL, 0,
N_("Undo the effect of the last --draftfolder option") },
{"filter", ARG_FILTER, N_("FILE"), 0,
N_("* Set the filter program to preprocess the body of the message") },
N_("* Use filter FILE to preprocess the body of the message") },
{"nofilter", ARG_NOFILTER, NULL, 0,
N_("* Undo the effect of the last --filter option") },
{"format", ARG_FORMAT, N_("BOOL"), OPTION_ARG_OPTIONAL,
......@@ -241,14 +241,6 @@ watch_printf (const char *fmt, ...)
va_end (ap);
}
static char *
draft_name()
{
char *draftfolder = mh_global_profile_get ("Draft-Folder",
mu_path_folder_dir);
return mh_expand_name (draftfolder, "draft", 0);
}
static list_t mesg_list;
static mh_context_t *mts_profile;
......@@ -465,7 +457,7 @@ main (int argc, char **argv)
{
struct stat st;
static char *xargv[2];
xargv[0] = draft_name();
xargv[0] = mh_draft_name ();
if (stat (xargv[0], &st))
{
......