From 93c88e0f6a4a8f7634ed84721daf4af46fc0d5db Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 15 Sep 2015 14:12:05 +0200 Subject: patch 7.4.866 Problem: Crash when changing the 'tags' option from a remote command. (Benjamin Fritz) Solution: Instead of executing messages immediately, use a queue, like for netbeans. (James Kolb) --- src/getchar.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/getchar.c') diff --git a/src/getchar.c b/src/getchar.c index a80432fc5a..87588a93ac 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -3034,9 +3034,8 @@ inchar(buf, maxlen, wait_time, tb_change_cnt) ) { -#if defined(FEAT_NETBEANS_INTG) - /* Process the queued netbeans messages. */ - netbeans_parse_messages(); +#ifdef MESSAGE_QUEUE + parse_queued_messages(); #endif if (got_int || (script_char = getc(scriptin[curscript])) < 0) -- cgit v1.2.3