summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/normal.c b/src/normal.c
index 2aa068d99..d4b4b70fc 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -8924,11 +8924,7 @@ nv_esc(cmdarg_T *cap)
/* A CTRL-C is often used at the start of a menu. When 'insertmode' is
* set return to Insert mode afterwards. */
- if (restart_edit == 0 && goto_im()
-#ifdef FEAT_EX_EXTRA
- && ex_normal_busy == 0
-#endif
- )
+ if (restart_edit == 0 && goto_im() && ex_normal_busy == 0)
restart_edit = 'a';
}