mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
This commit is contained in:
20
src/misc2.c
20
src/misc2.c
@@ -6328,3 +6328,23 @@ has_non_ascii(s)
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(MESSAGE_QUEUE) || defined(PROTO)
|
||||
/*
|
||||
* Process messages that have been queued for netbeans or clientserver.
|
||||
* These functions can call arbitrary vimscript and should only be called when
|
||||
* it is safe to do so.
|
||||
*/
|
||||
void
|
||||
parse_queued_messages()
|
||||
{
|
||||
# ifdef FEAT_NETBEANS_INTG
|
||||
/* Process the queued netbeans messages. */
|
||||
netbeans_parse_messages();
|
||||
# endif
|
||||
# ifdef FEAT_CLIENTSERVER
|
||||
/* Process the queued clientserver messages. */
|
||||
server_parse_messages();
|
||||
# endif
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user