updated for version 7.0124
diff --git a/src/search.c b/src/search.c
index f21d72b..a0c46ff 100644
--- a/src/search.c
+++ b/src/search.c
@@ -4743,7 +4743,7 @@
if (add_r == OK)
/* if dir was BACKWARD then honor it just once */
dir = FORWARD;
- else if (add_r == RET_ERROR)
+ else if (add_r == FAIL)
break;
}
else
@@ -4873,7 +4873,7 @@
line_breakcheck();
#ifdef FEAT_INS_EXPAND
if (action == ACTION_EXPAND)
- ins_compl_check_keys();
+ ins_compl_check_keys(30);
if (got_int || compl_interrupted)
#else
if (got_int)