43 |
{"nodraftfolder", ARG_NODRAFTFOLDER, NULL, 0, |
{"nodraftfolder", ARG_NODRAFTFOLDER, NULL, 0, |
44 |
N_("Undo the effect of the last --draftfolder option") }, |
N_("Undo the effect of the last --draftfolder option") }, |
45 |
{"filter", ARG_FILTER, N_("FILE"), 0, |
{"filter", ARG_FILTER, N_("FILE"), 0, |
46 |
N_("* Set the filter program to preprocess the body of the message") }, |
N_("* Use filter FILE to preprocess the body of the message") }, |
47 |
{"nofilter", ARG_NOFILTER, NULL, 0, |
{"nofilter", ARG_NOFILTER, NULL, 0, |
48 |
N_("* Undo the effect of the last --filter option") }, |
N_("* Undo the effect of the last --filter option") }, |
49 |
{"format", ARG_FORMAT, N_("BOOL"), OPTION_ARG_OPTIONAL, |
{"format", ARG_FORMAT, N_("BOOL"), OPTION_ARG_OPTIONAL, |
241 |
va_end (ap); |
va_end (ap); |
242 |
} |
} |
243 |
|
|
|
static char * |
|
|
draft_name() |
|
|
{ |
|
|
char *draftfolder = mh_global_profile_get ("Draft-Folder", |
|
|
mu_path_folder_dir); |
|
|
return mh_expand_name (draftfolder, "draft", 0); |
|
|
} |
|
|
|
|
244 |
static list_t mesg_list; |
static list_t mesg_list; |
245 |
static mh_context_t *mts_profile; |
static mh_context_t *mts_profile; |
246 |
|
|
457 |
{ |
{ |
458 |
struct stat st; |
struct stat st; |
459 |
static char *xargv[2]; |
static char *xargv[2]; |
460 |
xargv[0] = draft_name(); |
xargv[0] = mh_draft_name (); |
461 |
|
|
462 |
if (stat (xargv[0], &st)) |
if (stat (xargv[0], &st)) |
463 |
{ |
{ |