make sure that exported tex files are "nice" even in literate format

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27209 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-10-31 13:53:58 +00:00
parent adf48d1f51
commit d8265b90fe

View File

@ -2391,7 +2391,7 @@ bool Buffer::doExport(string const & format, bool put_in_tempdir,
makeDocBookFile(FileName(filename), runparams);
}
// LaTeX backend
else if (backend_format == format) {
else if (!put_in_tempdir) {
runparams.nice = true;
if (!makeLaTeXFile(FileName(filename), string(), runparams))
return false;