summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index a0e8370c2..c071a7a13 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -2331,7 +2331,10 @@ do_one_cmd(
|| ea.cmdidx == CMD_global
|| ea.cmdidx == CMD_vglobal
|| ea.usefilter
- || inside_block(&ea))
+#ifdef FEAT_EVAL
+ || inside_block(&ea)
+#endif
+ )
{
for (p = ea.arg; *p; ++p)
{