This is a patch that actually fixes the problem, but I have no idea what other
side effects it might have. Also note that the line numbers are way off since
I've been adding stuff.
@@ -2853,7 +2853,7 @@ channel_has_readahead(channel_T *channel, ch_part_T part)
jsonq_T *head = &channel->ch_part[part].ch_json_head;
jsonq_T *item = head->jq_next;
- return item != NULL;
+ return (item != NULL) || (channel_peek(channel, part) != NULL);
}
return channel_peek(channel, part) != NULL;
}
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/8f763fc1-28fe-48d7-8471-75ad7d7977e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.