summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
authorMartin Tournoij <martin@arp242.net>2022-10-04 16:28:45 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-04 16:28:45 +0100
commit7904fa420eb577274c4c3711295240100167d495 (patch)
treea38ab30cb4c947c2ebba45cd7ed711ffd2e719a7 /src/edit.c
parent4ba5f1dab656103e8f4a4505452d1816b9e83c1e (diff)
patch 9.0.0657: too many #ifdefsv9.0.0657
Problem: Too many #ifdefs. Solution: Graduate the +cmdwin feature. Now the tiny and small builds are equal, drop the small build. (Martin Tournoij, closes #11268)
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/edit.c b/src/edit.c
index 4479964591..2484fe555d 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -785,7 +785,6 @@ edit(
// FALLTHROUGH
case Ctrl_C: // End input mode
-#ifdef FEAT_CMDWIN
if (c == Ctrl_C && cmdwin_type != 0)
{
// Close the cmdline window.
@@ -794,7 +793,6 @@ edit(
nomove = TRUE;
goto doESCkey;
}
-#endif
#ifdef FEAT_JOB_CHANNEL
if (c == Ctrl_C && bt_prompt(curbuf))
{
@@ -1196,14 +1194,12 @@ doESCkey:
break;
}
#endif
-#ifdef FEAT_CMDWIN
if (cmdwin_type != 0)
{
// Execute the command in the cmdline window.
cmdwin_result = CAR;
goto doESCkey;
}
-#endif
#ifdef FEAT_JOB_CHANNEL
if (bt_prompt(curbuf))
{