summaryrefslogtreecommitdiff
path: root/libmu_scm
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-10-14 17:48:52 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-10-14 17:48:52 +0000
commit013fb5136383e83c2a9e716db52ef33156a11d30 (patch)
treed6528b095d5e2f1f1b2cccf3d7dee58f48c1ac75 /libmu_scm
parentc6e736c4d878876f758d6442a061e691fdbdc595 (diff)
downloadmailutils-013fb5136383e83c2a9e716db52ef33156a11d30.tar.gz
mailutils-013fb5136383e83c2a9e716db52ef33156a11d30.tar.bz2
(mu-path-maildir, mu-path-folder-dir): New globals
Diffstat (limited to 'libmu_scm')
-rw-r--r--libmu_scm/mailutils.scm.in3
-rw-r--r--libmu_scm/mu_scm.c8
2 files changed, 11 insertions, 0 deletions
diff --git a/libmu_scm/mailutils.scm.in b/libmu_scm/mailutils.scm.in
index ae673e656..4f9e13bac 100644
--- a/libmu_scm/mailutils.scm.in
+++ b/libmu_scm/mailutils.scm.in
@@ -35,2 +35,3 @@ changequote([,])dnl
(export mu-package)
+(export mu-package-string)
(export mu-version)
@@ -38,2 +39,4 @@ changequote([,])dnl
(export mu-debug)
+(export mu-path-maildir)
+(export mu-path-folder-dir)
diff --git a/libmu_scm/mu_scm.c b/libmu_scm/mu_scm.c
index 8f201289c..8adc05233 100644
--- a/libmu_scm/mu_scm.c
+++ b/libmu_scm/mu_scm.c
@@ -54,2 +54,4 @@ SCM _mu_scm_mailer; /* STRING: Default mailer path. */
SCM _mu_scm_debug; /* NUM: Default debug level. */
+SCM _mu_scm_path_maildir; /* STRING: mu_path_maildir */
+SCM _mu_scm_path_folder_dir;/* STRING: mu_path_folder_dir */
@@ -185,2 +187,8 @@ mu_scm_init ()
+ _mu_scm_path_maildir = scm_makfrom0str (mu_path_maildir);
+ mu_set_variable ("mu-path-maildir", _mu_scm_path_maildir);
+
+ _mu_scm_path_folder_dir = scm_makfrom0str (mu_path_folder_dir);
+ mu_set_variable ("mu-path-folder-dir", _mu_scm_path_folder_dir);
+
/* Create MU- attribute names */

Return to:

Send suggestions and report system problems to the System administrator.