diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-01-13 22:35:40 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-01-13 22:35:40 +0000 |
commit | a40ceaf88a6e2fbea7022dd84cd8dd5d903699e7 (patch) | |
tree | 204e108bdab14c1f09ce1746ac7b432f19fc5af7 /src/edit.c | |
parent | 4770d09abd866bb53d95895dc6a5c5fe7cccb619 (diff) |
updated for version 7.0180v7.0180
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c index c037d1f961..298ebc3c83 100644 --- a/src/edit.c +++ b/src/edit.c @@ -6527,6 +6527,10 @@ ins_ctrl_g() /* CTRL-G u: start new undoable edit */ case 'u': u_sync(); ins_need_undo = TRUE; + + /* Need to reset Insstart, esp. because a BS that joins + * aline to the previous one must save for undo. */ + Insstart = curwin->w_cursor; break; /* Unknown CTRL-G command, reserved for future expansion. */ |