Skip to content

Commit affd0bc

Browse files
dpellebrammool
authored andcommitted
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)
1 parent caf1a2f commit affd0bc

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/if_tcl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,7 @@ tclsetdelcmd(
15311531
reflist = reflist->next;
15321532
}
15331533
// This should never happen. Famous last word?
1534-
emsg(_("E280: TCL FATAL ERROR: reflist corrupt!? Please report this to [email protected]"));
1534+
iemsg(_("E280: TCL FATAL ERROR: reflist corrupt!? Please report this to [email protected]"));
15351535
Tcl_SetResult(interp, _("cannot register callback command: buffer/window reference not found"), TCL_STATIC);
15361536
return TCL_ERROR;
15371537
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
3002,
753755
/**/
754756
3001,
755757
/**/

0 commit comments

Comments
 (0)