updated for version 7.0-073
diff --git a/src/edit.c b/src/edit.c
index b5ab7a0..aa03d8d 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3097,6 +3097,10 @@
 
     /* 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;
 }
 
 /*