0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.2743: Vim9: function state stuck when compiling with ":silent!"

Problem:    Vim9: function state stuck when compiling with ":silent!".
Solution:   Check for uf_def_status to be UF_COMPILING.
This commit is contained in:
Bram Moolenaar
2021-04-10 14:03:43 +02:00
parent 701cc6ca9e
commit 599410cb3c
5 changed files with 27 additions and 1 deletions

View File

@@ -685,6 +685,9 @@ emsg_core(char_u *s)
*/
if (emsg_silent != 0)
{
#ifdef FEAT_EVAL
++did_emsg_silent;
#endif
if (emsg_noredir == 0)
{
msg_start();