mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4432: cannot use settabvar() while the cmdline window is open
Problem: Cannot use settabvar() while the cmdline window is open. Solution: Only give an error when actually switching tabpage. (closes #9813)
This commit is contained in:
@@ -4392,7 +4392,8 @@ goto_tabpage_tp(
|
||||
int trigger_enter_autocmds,
|
||||
int trigger_leave_autocmds)
|
||||
{
|
||||
CHECK_CMDWIN;
|
||||
if (trigger_enter_autocmds || trigger_leave_autocmds)
|
||||
CHECK_CMDWIN;
|
||||
|
||||
// Don't repeat a message in another tab page.
|
||||
set_keep_msg(NULL, 0);
|
||||
|
Reference in New Issue
Block a user