diff src/message.c @ 24406:a26f0fa12845 v8.2.2743

patch 8.2.2743: Vim9: function state stuck when compiling with ":silent!" Commit: https://github.com/vim/vim/commit/599410cb3cb19946cd6df22441da5de003e114bb Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 10 14:03:43 2021 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Apr 2021 14:15:03 +0200
parents 44be09b25619
children ac0211a9fb6a
line wrap: on
line diff
--- a/src/message.c
+++ b/src/message.c
@@ -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();