This commit is contained in:
Justin M. Keyes
2017-08-19 14:13:14 +02:00
parent 04b3c32772
commit 842a54a1bb
13 changed files with 121 additions and 63 deletions

View File

@@ -2735,7 +2735,7 @@ void do_put(int regname, yankreg_T *reg, int dir, long count, int flags)
// Autocommands may be executed when saving lines for undo, which may make
// y_array invalid. Start undo now to avoid that.
if (u_save(curwin->w_cursor.lnum, curwin->w_cursor.lnum + 1) == FAIL) {
ELOG(_("Failed to save undo information"));
ELOG("Failed to save undo information");
return;
}
}