config: In saving style 2, save deleted options too.
commitab8ef9698fd1eba9f1e81e7413b5ed355077d4fa
authorKalle Olavi Niemitalo <kon@iki.fi>
Sun, 3 Feb 2008 11:19:05 +0000 (3 13:19 +0200)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sun, 3 Feb 2008 18:27:41 +0000 (3 20:27 +0200)
tree744dee8de3b41ebd03befd94ba6002cfb559a236
parent6d55be20430065086646ea236f96cc4cd09fc6e8
config: In saving style 2, save deleted options too.

Previously, ELinks set the OPT_WATERMARK flag in all deleted options
when config.saving_style was 2, thus mostly preventing them from being
saved.  This had the unfortunate consequence that if you started with
no elinks.conf, set config.saving_style = 2, deleted some built-in
option (e.g. a URL rewriting rule), saved the settings, and restarted
ELinks, then the built-in option would reappear.
src/config/conf.c
src/config/options.c
src/config/options.h