summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-10-14 12:32:39 +0000
committerBram Moolenaar <Bram@vim.org>2006-10-14 12:32:39 +0000
commitdf40adfcf4f29e4ee4325bbd496c0ad232244b1a (patch)
tree428246ae8a590ce6a0605c4f30e8a136939e46af /src/edit.c
parentc67764a7053fd2b4fe9c7016fb89cf81691edbe4 (diff)
downloadvim-git-df40adfcf4f29e4ee4325bbd496c0ad232244b1a.tar.gz
updated for version 7.0-133v7.0.133
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c
index f0aecef20..3beb431b4 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3909,6 +3909,8 @@ ins_compl_get_exp(ini)
{
int flags = 0;
+ ++msg_silent; /* Don't want messages for wrapscan. */
+
/* ctrl_x_mode == CTRL_X_WHOLE_LINE || word-wise search that
* has added a word that was at the beginning of the line */
if ( ctrl_x_mode == CTRL_X_WHOLE_LINE
@@ -3920,6 +3922,7 @@ ins_compl_get_exp(ini)
compl_direction,
compl_pattern, 1L, SEARCH_KEEP + SEARCH_NFMSG,
RE_LAST, (linenr_T)0);
+ --msg_silent;
if (!compl_started)
{
/* set "compl_started" even on fail */