comparison src/channel.c @ 10540:ea7fbae33285 v8.0.0160

patch 8.0.0160: EMSG() is sometimes used where it should be IEMSG() commit https://github.com/vim/vim/commit/de33011ec623fd562419dede6bf465b5b9881a20 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 8 20:50:52 2017 +0100 patch 8.0.0160: EMSG() is sometimes used where it should be IEMSG() Problem: EMSG() is sometimes used for internal errors. Solution: Change them to IEMSG(). (Dominique Pelle) And a few more.
author Christian Brabandt <cb@256bit.org>
date Sun, 08 Jan 2017 21:00:05 +0100
parents acfc83aca8ee
children f83b6a0b6148
comparison
equal deleted inserted replaced
10539:b7add90fec60 10540:ea7fbae33285
1565 { 1565 {
1566 typval_T rettv; 1566 typval_T rettv;
1567 int dummy; 1567 int dummy;
1568 1568
1569 if (safe_to_invoke_callback == 0) 1569 if (safe_to_invoke_callback == 0)
1570 EMSG("INTERNAL: Invoking callback when it is not safe"); 1570 IEMSG("INTERNAL: Invoking callback when it is not safe");
1571 1571
1572 argv[0].v_type = VAR_CHANNEL; 1572 argv[0].v_type = VAR_CHANNEL;
1573 argv[0].vval.v_channel = channel; 1573 argv[0].vval.v_channel = channel;
1574 1574
1575 call_func(callback, (int)STRLEN(callback), &rettv, 2, argv, NULL, 1575 call_func(callback, (int)STRLEN(callback), &rettv, 2, argv, NULL,