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 013fc5a..2bcfc42 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3467,10 +3467,14 @@
(*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 23049a8..93a8e8f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 561,
+/**/
560,
/**/
559,