From affd0bc626560631f1df2e0f68db2f15dbda47e1 Mon Sep 17 00:00:00 2001 From: Dominique Pelle Date: Tue, 15 Jun 2021 19:09:43 +0200 Subject: patch 8.2.3002: Vim doesn't abort on a fatal Tcl error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Vim doesn't abort on a fatal Tcl error. Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383) --- src/if_tcl.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/if_tcl.c b/src/if_tcl.c index 47e734b20..c3b9c5bbe 100644 --- a/src/if_tcl.c +++ b/src/if_tcl.c @@ -1531,7 +1531,7 @@ tclsetdelcmd( reflist = reflist->next; } // This should never happen. Famous last word? - emsg(_("E280: TCL FATAL ERROR: reflist corrupt!? Please report this to vim-dev@vim.org")); + iemsg(_("E280: TCL FATAL ERROR: reflist corrupt!? Please report this to vim-dev@vim.org")); Tcl_SetResult(interp, _("cannot register callback command: buffer/window reference not found"), TCL_STATIC); return TCL_ERROR; } diff --git a/src/version.c b/src/version.c index 3696c2e2a..1f757b297 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3002, /**/ 3001, /**/ -- cgit v1.2.1