> looks like you made preferences loading dependent on gui mode
I wonder what makes it look so to you.
The code clearly says otherwise.
Or did you try it and found that preferences are not loaded? I did and the preferences are loaded. Changing the plain SVG indentation amount to a non-default value and doing --export-plain-svg (one of the few cases I was able to find when preferences influence non-GUI use) with and without GUI worked equally well.
> looks like you made preferences loading dependent on gui mode
I wonder what makes it look so to you.
The code clearly says otherwise.
Or did you try it and found that preferences are not loaded? I did and the preferences are loaded. Changing the plain SVG indentation amount to a non-default value and doing --export-plain-svg (one of the few cases I was able to find when preferences influence non-GUI use) with and without GUI worked equally well.