To: vim_dev@googlegroups.com Subject: Patch 8.2.3343 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3343 (after 8.2.3342) Problem: Vim9: autoload test fails. Solution: Adjust the way the second message is avoided Files: src/evalvars.c *** ../vim-8.2.3342/src/evalvars.c 2021-08-14 14:27:26.451597297 +0200 --- src/evalvars.c 2021-08-14 14:55:38.960385662 +0200 *************** *** 1184,1190 **** char_u *arg_subsc; char_u *tofree; typval_T tv; - int prev_uncaught_emsg = uncaught_emsg; while (!ends_excmd2(eap->cmd, arg) && !got_int) { --- 1184,1189 ---- *************** *** 1194,1200 **** if (!VIM_ISWHITE(*arg) && !ends_excmd(*arg)) { emsg_severe = TRUE; ! if (uncaught_emsg == prev_uncaught_emsg) semsg(_(e_trailing_arg), arg); break; } --- 1193,1199 ---- if (!VIM_ISWHITE(*arg) && !ends_excmd(*arg)) { emsg_severe = TRUE; ! if (!did_emsg) semsg(_(e_trailing_arg), arg); break; } *** ../vim-8.2.3342/src/version.c 2021-08-14 14:27:26.451597297 +0200 --- src/version.c 2021-08-14 14:56:31.024280818 +0200 *************** *** 757,758 **** --- 757,760 ---- { /* Add new patch number below this line */ + /**/ + 3343, /**/ -- ARTHUR: Go on, Bors, chop its head off. BORS: Right. Silly little bleeder. One rabbit stew coming up. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///