summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c
index bf0f01420..4ee21d5f3 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -882,6 +882,7 @@ edit(cmdchar, startln, count)
/* Close the cmdline window. */
cmdwin_result = K_IGNORE;
got_int = FALSE; /* don't stop executing autocommands et al. */
+ nomove = TRUE;
goto doESCkey;
}
#endif
@@ -2414,6 +2415,7 @@ set_completion(startcol, list)
compl_matches = ins_compl_make_cyclic();
compl_started = TRUE;
compl_used_match = TRUE;
+ compl_cont_status = 0;
compl_curr_match = compl_first_match;
ins_complete(Ctrl_N);