mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4299: SafeState autocommand interferes with debugging
Problem: SafeState autocommand interferes with debugging. Solution: Do not trigger SafeState while debugging. (closes #9697)
This commit is contained in:
@@ -1047,7 +1047,8 @@ is_safe_now(void)
|
|||||||
return stuff_empty()
|
return stuff_empty()
|
||||||
&& typebuf.tb_len == 0
|
&& typebuf.tb_len == 0
|
||||||
&& scriptin[curscript] == NULL
|
&& scriptin[curscript] == NULL
|
||||||
&& !global_busy;
|
&& !global_busy
|
||||||
|
&& !debug_mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -746,6 +746,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 */
|
||||||
|
/**/
|
||||||
|
4299,
|
||||||
/**/
|
/**/
|
||||||
4298,
|
4298,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user