X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=options.c;h=2b0353f60d790c3d8cde7edafaf53da4e9f7bb9b;hb=516879f5c54c7cfb1cea572d6fea8f664e8cc010;hp=f9a1144a2f478f0e219c4a3ff17aab1b8e6daacf;hpb=0d3c17d9ab127e5596c8fb97d65122b3b90f6b11;p=pkg%2Fabook.git diff --git a/options.c b/options.c index f9a1144..2b0353f 100644 --- a/options.c +++ b/options.c @@ -1,7 +1,8 @@ /* - * options.c - * by JH + * $Id$ + * + * by JH * * Copyright (C) Jaakko Heinonen */ @@ -9,7 +10,6 @@ #include #include #include -#include #include "abook_curses.h" #include "abook.h" #include "options.h" @@ -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"); }