]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
* remove various xforms relicts, in particular:
[lyx.git] / src / buffer.C
index a18791fc82f16373793b3d0053b5ae204c7a75a5..d5e60413b353dcfe050e107cfa7eb1d610d60917 100644 (file)
@@ -146,7 +146,7 @@ extern BufferList bufferlist;
 
 namespace {
 
-int const LYX_FORMAT = 245;
+int const LYX_FORMAT = 248;
 
 } // namespace anon
 
@@ -643,7 +643,7 @@ bool Buffer::readFile(LyXLex & lex, string const & filename)
                        return false;
                }
                ostringstream command;
-               command << "python " << quoteName(lyx2lyx)
+               command << os::python() << ' ' << quoteName(lyx2lyx)
                        << " -t " << convert<string>(LYX_FORMAT)
                        << " -o " << quoteName(tmpfile) << ' '
                        << quoteName(filename);
@@ -1342,8 +1342,6 @@ void Buffer::changeLanguage(Language const * from, Language const * to)
        BOOST_ASSERT(from);
        BOOST_ASSERT(to);
 
-       lyxerr << "Changing Language!" << endl;
-
        // Take care of l10n/i18n
        updateDocLang(to);