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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/if_tcl.c') diff --git a/src/if_tcl.c b/src/if_tcl.c index 47e734b204..c3b9c5bbee 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; } -- cgit v1.2.3