From 711d5dea20679298192b25a5bbfe4fd70d9012d6 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 1 Sep 2011 16:09:18 +0200 Subject: Add configuration option to run the GC on exit If "auto_gc" is enabled, the garbage collector for note files will be run on every exit. As this is an experimental feature and may cause data loss, this is disabled by default. Signed-off-by: Lukas Fleischer --- src/vars.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vars.c') diff --git a/src/vars.c b/src/vars.c index ef2cd73..1e2453f 100644 --- a/src/vars.c +++ b/src/vars.c @@ -125,6 +125,7 @@ vars_init (struct conf *conf) conf->confirm_quit = 1; conf->confirm_delete = 1; conf->auto_save = 1; + conf->auto_gc = 0; conf->periodic_save = 0; conf->skip_system_dialogs = 0; conf->skip_progress_bar = 0; -- cgit v1.2.3