diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-06-15 19:09:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-15 19:09:43 +0200 |
commit | affd0bc626560631f1df2e0f68db2f15dbda47e1 (patch) | |
tree | 69987156a2cd2dacb1024afc848b474b3e9c1318 | |
parent | caf1a2f296499bdcf030aca545a04da65ac210a1 (diff) | |
download | vim-git-affd0bc626560631f1df2e0f68db2f15dbda47e1.tar.gz |
patch 8.2.3002: Vim doesn't abort on a fatal Tcl errorv8.2.3002
Problem: Vim doesn't abort on a fatal Tcl error.
Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383)
-rw-r--r-- | src/if_tcl.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3002, +/**/ 3001, /**/ 3000, |