Collapse undo groups during an eval command
This commit is contained in:
parent
0eb2356079
commit
dc7c5f6e67
|
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user