updated for version 7.0-104
diff --git a/src/fileio.c b/src/fileio.c
index 2e2b826..42181e1 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -8289,7 +8289,11 @@
 {
     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)