Introduce contitional string options
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 27 Nov 2016 17:03:51 +0000 (18:03 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 13 Jan 2017 15:39:24 +0000 (16:39 +0100)
commitbebe9603e5df7b96ae3abd6949b7e2bab015333c
treec96d58769f30c2e0835260fae7d5d024616616ed
parentbfb5abb19b495e71372de64dc760ff5449216e15
Introduce contitional string options

A string option that specifies a value starting with "@@@@@" (five at signs)
will be treated in a special way: if the current value of this option is
not the empty string, it will not be changed. If it is, it will be set
to the given value after the @@@@@ prefix has been stripped off the latter.
 This is introduced to make it possible to set hitherto unused persistent
options from the master settings file, by includig them in the latter after
the user settigs file was read. Options in this location will overrule
whatever was in the saved settings, effectively making the option volatile
with a new default. But by using the @@@@@ prefix for the value, users
that already have assigned a value to the option will not be affected,
and only for users that were not yet using the option a new value will
be defined for it.
args.h