Collapse undo groups during an eval command

This commit is contained in:
Maxime Coste 2017-03-07 16:18:09 +00:00
parent 0eb2356079
commit dc7c5f6e67

View File

@ -1700,6 +1700,7 @@ const CommandDesc eval_string_cmd = {
{ {
context_wrap(parser, context, [&](const ParametersParser& parser, Context& context) { context_wrap(parser, context, [&](const ParametersParser& parser, Context& context) {
String command = join(parser, ' ', false); String command = join(parser, ' ', false);
ScopedEdition edition(context);
CommandManager::instance().execute(command, context, shell_context); CommandManager::instance().execute(command, context, shell_context);
}); });
} }