diff --git a/src/edit.c b/src/edit.c index b5ab7a039..aa03d8d87 100644 --- a/src/edit.c +++ b/src/edit.c @@ -3097,6 +3097,10 @@ ins_compl_new_leader() /* Show the popup menu with a different set of matches. */ ins_compl_show_pum(); + + /* Don't let Enter select the original text when there is no popup menu. */ + if (compl_match_array == NULL) + compl_enter_selects = FALSE; } /* diff --git a/src/version.c b/src/version.c index 649290ef6..f7ab6154a 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 73, /**/ 72, /**/