0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.0172

This commit is contained in:
Bram Moolenaar
2005-12-17 22:06:52 +00:00
parent 97d29a1ace
commit acf534595b
3 changed files with 17 additions and 15 deletions

View File

@@ -1098,21 +1098,22 @@ getcmdline(firstc, count, indent)
save_cmdline(&save_ccline);
c = get_expr_register();
restore_cmdline(&save_ccline);
/* When there was a serious error abort getting the
* command line. */
if (aborting())
{
gotesc = TRUE; /* will free ccline.cmdbuff after
putting it in history */
goto returncmd; /* back to cmd mode */
}
}
}
#endif
if (c != ESC) /* use ESC to cancel inserting register */
{
cmdline_paste(c, i == Ctrl_R);
/* When there was a serious error abort getting the
* command line. */
if (aborting())
{
gotesc = TRUE; /* will free ccline.cmdbuff after
putting it in history */
goto returncmd; /* back to cmd mode */
}
KeyTyped = FALSE; /* Don't do p_wc completion. */
#ifdef FEAT_EVAL
if (new_cmdpos >= 0)