0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -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:
Bram Moolenaar
2022-02-05 12:10:52 +00:00
parent fc88df42f1
commit 46f3080e5c
2 changed files with 4 additions and 1 deletions

View File

@@ -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;
} }
/* /*

View File

@@ -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,
/**/ /**/