Mercurial > vim
comparison src/fileio.c @ 978:0e3e208b4b90 v7.0.104
updated for version 7.0-104
author | vimboss |
---|---|
date | Thu, 14 Sep 2006 09:07:34 +0000 |
parents | 994ea4e6f023 |
children | 09d0e83c29b8 |
comparison
equal
deleted
inserted
replaced
977:316dad0565b8 | 978:0e3e208b4b90 |
---|---|
8287 int | 8287 int |
8288 trigger_cursorhold() | 8288 trigger_cursorhold() |
8289 { | 8289 { |
8290 int state; | 8290 int state; |
8291 | 8291 |
8292 if (!did_cursorhold && has_cursorhold() && !Recording) | 8292 if (!did_cursorhold && has_cursorhold() && !Recording |
8293 #ifdef FEAT_INS_EXPAND | |
8294 && !ins_compl_active() | |
8295 #endif | |
8296 ) | |
8293 { | 8297 { |
8294 state = get_real_state(); | 8298 state = get_real_state(); |
8295 if (state == NORMAL_BUSY || (state & INSERT) != 0) | 8299 if (state == NORMAL_BUSY || (state & INSERT) != 0) |
8296 return TRUE; | 8300 return TRUE; |
8297 } | 8301 } |