From: Bram Moolenaar Date: Wed, 20 Jun 2012 12:26:35 +0000 (+0200) Subject: updated for version 7.3.561 X-Git-Tag: v7.3.561 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e1a0a9a65b221d376a3ab85d06d918e651dd123;p=thirdparty%2Fvim.git updated for version 7.3.561 Problem: Using refresh: always in a complete function breaks the "." command. (Val Markovic) Solution: Add match leader to the redo buffer. (Yasuhiro Matsumoto) --- diff --git a/src/edit.c b/src/edit.c index 013fc5abcb..2bcfc42a4a 100644 --- a/src/edit.c +++ b/src/edit.c @@ -3467,10 +3467,14 @@ ins_compl_addleader(c) (*mb_char2bytes)(c, buf); buf[cc] = NUL; ins_char_bytes(buf, cc); + AppendToRedobuff(buf); } else #endif + { ins_char(c); + AppendCharToRedobuff(c); + } /* If we didn't complete finding matches we must search again. */ if (ins_compl_need_restart()) diff --git a/src/version.c b/src/version.c index 23049a807e..93a8e8fffa 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 561, /**/ 560, /**/