Mercurial > vim
comparison src/if_tcl.c @ 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 | c0880eafe162 |
children | c4298ed56ffa |
comparison
equal
deleted
inserted
replaced
24929:1ede0f0ab8d9 | 24930:b7585162b184 |
---|---|
1529 return TCL_OK; | 1529 return TCL_OK; |
1530 } | 1530 } |
1531 reflist = reflist->next; | 1531 reflist = reflist->next; |
1532 } | 1532 } |
1533 // This should never happen. Famous last word? | 1533 // This should never happen. Famous last word? |
1534 emsg(_("E280: TCL FATAL ERROR: reflist corrupt!? Please report this to vim-dev@vim.org")); | 1534 iemsg(_("E280: TCL FATAL ERROR: reflist corrupt!? Please report this to vim-dev@vim.org")); |
1535 Tcl_SetResult(interp, _("cannot register callback command: buffer/window reference not found"), TCL_STATIC); | 1535 Tcl_SetResult(interp, _("cannot register callback command: buffer/window reference not found"), TCL_STATIC); |
1536 return TCL_ERROR; | 1536 return TCL_ERROR; |
1537 } | 1537 } |
1538 | 1538 |
1539 | 1539 |