summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-03-11 14:12:45 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-03-11 14:12:45 +0000
commit2897310cc6ab1f8021812223ce6430c395c39e70 (patch)
treebe29b2f32c615cd84c9dd2f516cafe5809b91ec9
parente00edafe5c8e82a31f05d28c04e672a0e561b46e (diff)
downloadmailutils-2897310cc6ab1f8021812223ce6430c395c39e70.tar.gz
mailutils-2897310cc6ab1f8021812223ce6430c395c39e70.tar.bz2
(mh_draft_name): New function.
-rw-r--r--mh/mh_init.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mh/mh_init.c b/mh/mh_init.c
index 7325c8a6c..86ef959bf 100644
--- a/mh/mh_init.c
+++ b/mh/mh_init.c
@@ -725,3 +725,11 @@ mh_annotate (message_t msg, char *field, char *text, int date)
attribute_set_modified (attr);
}
+char *
+mh_draft_name ()
+{
+ char *draftfolder = mh_global_profile_get ("Draft-Folder",
+ mu_path_folder_dir);
+ return mh_expand_name (draftfolder, "draft", 0);
+}
+

Return to:

Send suggestions and report system problems to the System administrator.