refactor: allow us to process a child queue only while waiting on input

This commit is contained in:
Björn Linse
2019-09-06 20:10:56 +02:00
parent fa90f6cdaa
commit e6b7613e89
12 changed files with 69 additions and 78 deletions

View File

@@ -5673,7 +5673,6 @@ void ex_substitute(exarg_T *eap)
}
block_autocmds(); // Disable events during command preview.
input_disable_events();
char_u *save_eap = eap->arg;
garray_T save_view;
@@ -5716,7 +5715,6 @@ void ex_substitute(exarg_T *eap)
restore_search_patterns();
win_size_restore(&save_view);
ga_clear(&save_view);
input_enable_events();
unblock_autocmds();
}