summaryrefslogtreecommitdiffstats
path: root/src/if_tcl.c
diff options
context:
space:
mode:
authorDominique Pelle <dominique.pelle@gmail.com>2021-06-15 19:09:43 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-15 19:09:43 +0200
commitaffd0bc626560631f1df2e0f68db2f15dbda47e1 (patch)
tree69987156a2cd2dacb1024afc848b474b3e9c1318 /src/if_tcl.c
parentcaf1a2f296499bdcf030aca545a04da65ac210a1 (diff)
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)
Diffstat (limited to 'src/if_tcl.c')
-rw-r--r--src/if_tcl.c2
1 files changed, 1 insertions, 1 deletions
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;
}