mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
config: Let "unset" delete built-in options too.
(cherry picked from commit 661dda04c9
)
This commit is contained in:
parent
6ef4f017be
commit
1841d8f399
@ -345,6 +345,7 @@ parse_unset(struct option *opt_tree, struct conf_parsing_state *state,
|
||||
|
||||
if (!mirror) {
|
||||
if (opt->flags & OPT_ALLOC) delete_option(opt);
|
||||
else mark_option_as_deleted(opt);
|
||||
} else {
|
||||
if (opt->flags & OPT_DELETED)
|
||||
opt->flags |= OPT_WATERMARK;
|
||||
|
Loading…
Reference in New Issue
Block a user