commit | 7073cc84bc62549c000ea32f08392db4a52f4835 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Aug 29 16:33:06 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Aug 29 16:33:06 2006 +0000 |
tree | 2bd7fe0fc6acb6124af3562e83858313d7674a00 | |
parent | 265e5074b59b721f44baae35cfd3af6f9b93b879 [diff] [blame] |
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; } /*