summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-12-17 22:06:52 +0000
committerBram Moolenaar <Bram@vim.org>2005-12-17 22:06:52 +0000
commitacf534595b76b8992b3b4cfbae3158f850a3f2a5 (patch)
tree468bf1917f02d96ead59a495e7ec5df9a2f7e092 /src
parent97d29a1ace00a173b7aa30ee1a4ae71a7e91bed3 (diff)
updated for version 7.0172
Diffstat (limited to 'src')
-rw-r--r--src/ex_getln.c19
-rw-r--r--src/version.h4
2 files changed, 12 insertions, 11 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index a55b497438..bc5aca560a 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -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)
diff --git a/src/version.h b/src/version.h
index a1aed6e688..c500302e65 100644
--- a/src/version.h
+++ b/src/version.h
@@ -36,5 +36,5 @@
#define VIM_VERSION_NODOT "vim70aa"
#define VIM_VERSION_SHORT "7.0aa"
#define VIM_VERSION_MEDIUM "7.0aa ALPHA"
-#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 16)"
-#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 16, compiled "
+#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 17)"
+#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 17, compiled "