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, 5 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 2fc5d0a94..2f4766d6f 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -8813,6 +8813,11 @@ ex_normal(eap)
char_u *p;
#endif
+ if (ex_normal_lock > 0)
+ {
+ EMSG(_(e_secure));
+ return;
+ }
if (ex_normal_busy >= p_mmd)
{
EMSG(_("E192: Recursive use of :normal too deep"));