# HG changeset patch # User vimboss # Date 1156869186 0 # Node ID a157c4786b79ae94758574d5ecb4a8f4959de5e6 # Parent 4fb859cd9ba955957ad712ea390e87cffec6a540 updated for version 7.0-073 diff --git a/src/edit.c b/src/edit.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 73, +/**/ 72, /**/ 71,