# HG changeset patch # User Bram Moolenaar # Date 1340195195 -7200 # Node ID a1de7928a7aba45240c85a2bc8d70adadc49e4dc # Parent 0a251cdd958f830a0f4cfa823f771d77310071c1 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 561, +/**/ 560, /**/ 559,