diff 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
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -8289,7 +8289,11 @@ trigger_cursorhold()
 {
     int		state;
 
-    if (!did_cursorhold && has_cursorhold() && !Recording)
+    if (!did_cursorhold && has_cursorhold() && !Recording
+#ifdef FEAT_INS_EXPAND
+	    && !ins_compl_active()
+#endif
+	    )
     {
 	state = get_real_state();
 	if (state == NORMAL_BUSY || (state & INSERT) != 0)