On Sat, 2005-03-05 at 16:16 +0100, Juergen Spitzmueller wrote: > This does not depend on "Use Class Defaults". The actual bug is that it is > impossible delete extra options once they have been applied (not in 1.3.x > btw). Seems that the core doesn't accept empty strings.
Attached patch works for me without any warnings. Perhaps there's some interal reason that it's bad, I don't know. John
Index: bufferparams.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/bufferparams.C,v retrieving revision 1.98 diff -u -p -r1.98 bufferparams.C --- bufferparams.C 2005/02/12 16:21:32 1.98 +++ bufferparams.C 2005/03/06 01:08:11 @@ -621,9 +621,7 @@ void BufferParams::writeFile(ostream & o } // the options - if (!options.empty()) { - os << "\\options " << options << '\n'; - } + os << "\\options " << options << '\n'; // then the text parameters if (language != ignore_language)