summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-03-23 15:13:05 +0100
committerBram Moolenaar <Bram@vim.org>2014-03-23 15:13:05 +0100
commitf7ff6e85e8a4e84cff023f5db4b66ef85986605a (patch)
tree813913a9c1d1418b5b85e3a4bc414dbeb2b3f6a3 /src/getchar.c
parenta68783751647e3243ca6f22df62907efbdbccb02 (diff)
updated for version 7.4.212v7.4.212
Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 7455c778d8..b39e64d97a 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -870,7 +870,6 @@ start_redo(count, old_redo)
c = read_redo(FALSE, old_redo);
}
-#ifdef FEAT_VISUAL
if (c == 'v') /* redo Visual */
{
VIsual = curwin->w_cursor;
@@ -880,7 +879,6 @@ start_redo(count, old_redo)
redo_VIsual_busy = TRUE;
c = read_redo(FALSE, old_redo);
}
-#endif
/* try to enter the count (in place of a previous count) */
if (count)
@@ -1162,7 +1160,6 @@ typebuf_typed()
return typebuf.tb_maplen == 0;
}
-#if defined(FEAT_VISUAL) || defined(PROTO)
/*
* Return the number of characters that are mapped (or not typed).
*/
@@ -1171,7 +1168,6 @@ typebuf_maplen()
{
return typebuf.tb_maplen;
}
-#endif
/*
* remove "len" characters from typebuf.tb_buf[typebuf.tb_off + offset]
@@ -2443,7 +2439,6 @@ vgetorpeek(advance)
idx = get_menu_index(current_menu, local_State);
if (idx != MENU_INDEX_INVALID)
{
-# ifdef FEAT_VISUAL
/*
* In Select mode and a Visual mode menu
* is used: Switch to Visual mode
@@ -2457,7 +2452,6 @@ vgetorpeek(advance)
(void)ins_typebuf(K_SELECT_STRING,
REMAP_NONE, 0, TRUE, FALSE);
}
-# endif
ins_typebuf(current_menu->strings[idx],
current_menu->noremap[idx],
0, TRUE,
@@ -2516,7 +2510,6 @@ vgetorpeek(advance)
break;
}
-#ifdef FEAT_VISUAL
/*
* In Select mode and a Visual mode mapping is used:
* Switch to Visual mode temporarily. Append K_SELECT
@@ -2529,7 +2522,6 @@ vgetorpeek(advance)
(void)ins_typebuf(K_SELECT_STRING, REMAP_NONE,
0, TRUE, FALSE);
}
-#endif
#ifdef FEAT_EVAL
/* Copy the values from *mp that are used, because