updated for version 7.0-234
diff --git a/src/eval.c b/src/eval.c
index 7a5ca1d..cfb3476 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -9078,6 +9078,12 @@
     int		typed = FALSE;
     char_u	*keys_esc;
 
+    /* This is not allowed in the sandbox.  If the commands would still be
+     * executed in the sandbox it would be OK, but it probably happens later,
+     * when "sandbox" is no longer set. */
+    if (check_secure())
+	return;
+
     rettv->vval.v_number = 0;
     keys = get_tv_string(&argvars[0]);
     if (*keys != NUL)