patch 8.2.3002: Vim doesn't abort on a fatal Tcl error
Problem: Vim doesn't abort on a fatal Tcl error.
Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383)
diff --git a/src/if_tcl.c b/src/if_tcl.c
index 47e734b..c3b9c5b 100644
--- a/src/if_tcl.c
+++ b/src/if_tcl.c
@@ -1531,7 +1531,7 @@
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;
}