mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0171
This commit is contained in:
@@ -1098,6 +1098,15 @@ 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
|
||||
|
Reference in New Issue
Block a user