summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c
index 0791b1a38..100aadce7 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -8002,7 +8002,9 @@ nv_g_cmd(cap)
*/
case 'N':
case 'n':
+#ifdef FEAT_VISUAL
if (!current_search(cap->count1, cap->nchar == 'n'))
+#endif
beep_flush();
break;