Mercurial > vim
diff src/proto/channel.pro @ 8240:60586ce747c4 v7.4.1413
commit https://github.com/vim/vim/commit/8b374215ccd35003b95ba1df8f12e03bf8a8adc3
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 24 20:43:06 2016 +0100
patch 7.4.1413
Problem: When calling ch_close() the close callback is invoked, even though
the docs say it isn't. (Christian J. Robinson)
Solution: Don't call the close callback.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 24 Feb 2016 20:45:08 +0100 |
parents | b717dae2f26d |
children | c4ffdda8cdfd |
line wrap: on
line diff
--- a/src/proto/channel.pro +++ b/src/proto/channel.pro @@ -17,7 +17,7 @@ int channel_collapse(channel_T *channel, int channel_can_write_to(channel_T *channel); int channel_is_open(channel_T *channel); char *channel_status(channel_T *channel); -void channel_close(channel_T *channel); +void channel_close(channel_T *channel, int invoke_close_cb); char_u *channel_peek(channel_T *channel, int part); void channel_clear(channel_T *channel); void channel_free_all(void);