use a separate context for kakrc execution

This commit is contained in:
Maxime Coste 2012-08-28 14:10:44 +02:00
parent db1e2f2d86
commit 1833cb4dcf

View File

@ -482,7 +482,8 @@ int main(int argc, char* argv[])
try try
{ {
command_manager.execute("runtime kakrc", context); Context initialisation_context;
command_manager.execute("runtime kakrc", initialisation_context);
} }
catch (Kakoune::runtime_error& error) catch (Kakoune::runtime_error& error)
{ {