mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4432,
|
||||||
/**/
|
/**/
|
||||||
4431,
|
4431,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -4392,7 +4392,8 @@ goto_tabpage_tp(
|
|||||||
int trigger_enter_autocmds,
|
int trigger_enter_autocmds,
|
||||||
int trigger_leave_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.
|
// Don't repeat a message in another tab page.
|
||||||
set_keep_msg(NULL, 0);
|
set_keep_msg(NULL, 0);
|
||||||
|
Reference in New Issue
Block a user