changeset 24930:b7585162b184 v8.2.3002

patch 8.2.3002: Vim doesn't abort on a fatal Tcl error Commit: https://github.com/vim/vim/commit/affd0bc626560631f1df2e0f68db2f15dbda47e1 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Tue Jun 15 19:09:43 2021 +0200 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 https://github.com/vim/vim/issues/8383)
author Bram Moolenaar <Bram@vim.org>
date Tue, 15 Jun 2021 19:15:03 +0200
parents 1ede0f0ab8d9
children 7cefad55cbf8
files src/if_tcl.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3002,
+/**/
     3001,
 /**/
     3000,