summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/edit.c b/src/edit.c
index 8d6c32a21..3f933c14c 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3020,9 +3020,6 @@ ins_compl_bs()
if ((int)(p - line) - (int)compl_col <= 0)
return K_BS;
- /* For redo we need to repeat this backspace. */
- AppendCharToRedobuff(K_BS);
-
/* Deleted more than what was used to find matches or didn't finish
* finding all matches: need to look for matches all over again. */
if (curwin->w_cursor.col <= compl_col + compl_length
@@ -3122,10 +3119,6 @@ ins_compl_addleader(c)
#endif
ins_char(c);
- /* For redo we need to count this character so that the number of
- * backspaces is correct. */
- AppendCharToRedobuff(c);
-
/* If we didn't complete finding matches we must search again. */
if (compl_was_interrupted)
ins_compl_restart();