1
0
forked from aniani/vim

updated for version 7.0173

This commit is contained in:
Bram Moolenaar
2005-12-18 22:02:33 +00:00
parent da1b1a7357
commit d35f9711d4
5 changed files with 25 additions and 11 deletions

View File

@@ -342,11 +342,8 @@ mch_inchar(buf, maxlen, wtime, tb_change_cnt)
if (WaitForChar(p_ut) == 0)
{
#ifdef FEAT_AUTOCMD
if (!did_cursorhold
&& has_cursorhold()
&& get_real_state() == NORMAL_BUSY
&& maxlen >= 3
&& !typebuf_changed(tb_change_cnt))
if (trigger_cursorhold() && maxlen >= 3
&& !typebuf_changed(tb_change_cnt))
{
buf[0] = K_SPECIAL;
buf[1] = KS_EXTRA;