X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=options.c;h=2b0353f60d790c3d8cde7edafaf53da4e9f7bb9b;hb=3cea3c8809447c5d6658671b78b9af7137fd9b0d;hp=477606755078c82c40fbfa586dd10e9574e81710;hpb=3bedb1428115f85dfb75622a0279d67ec3aecdcc;p=pkg%2Fabook.git diff --git a/options.c b/options.c index 4776067..2b0353f 100644 --- a/options.c +++ b/options.c @@ -2,7 +2,7 @@ /* * $Id$ * - * by JH + * by JH * * Copyright (C) Jaakko Heinonen */ @@ -83,20 +83,17 @@ init_options() void close_config() { + /* + * we don't save the configuration file since user can specify + * alternative configuration files + */ +#if 0 save_options(); +#endif conff_free_nodes(abook_config); } -void -edit_options() -{ - /* - * not yet implemented - * edit your ~/.abook.conf manually - */ -} - static int rcfile_exist() { @@ -123,6 +120,7 @@ load_options() } } +#if 0 void save_options() { @@ -131,6 +129,7 @@ save_options() conff_save_file(abook_config, rcfile); } +#endif static void options_add_key(char *key, char *value) @@ -161,4 +160,6 @@ default_options() options_add_key("www_command", "lynx"); options_add_key("address_style", "eu"); + + options_add_key("use_ascii_only", "false"); }