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:
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4432,
|
||||
/**/
|
||||
4431,
|
||||
/**/
|
||||
|
@@ -4392,6 +4392,7 @@ goto_tabpage_tp(
|
||||
int trigger_enter_autocmds,
|
||||
int trigger_leave_autocmds)
|
||||
{
|
||||
if (trigger_enter_autocmds || trigger_leave_autocmds)
|
||||
CHECK_CMDWIN;
|
||||
|
||||
// Don't repeat a message in another tab page.
|
||||
|
Reference in New Issue
Block a user