vim-patch:8.2.1783: try-catch test fails

Problem:    Try-catch test fails.
Solution:   Don't call win_enter(), only call enterering_window().
bdf931c25b

v8.2.1781 caused Test_reload_in_try_catch() from v8.2.0004 to fail in Vim, but
it has not been ported yet.
This commit is contained in:
Sean Dewar
2021-11-07 21:46:06 +00:00
parent 38cd91de5f
commit a128b64e73
3 changed files with 11 additions and 3 deletions

View File

@@ -2256,7 +2256,7 @@ static void leaving_window(win_T *const win)
}
}
static void entering_window(win_T *const win)
void entering_window(win_T *const win)
FUNC_ATTR_NONNULL_ALL
{
// Only matters for a prompt window.