summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 8a11fbbe9f..8ca11f0663 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -1934,9 +1934,9 @@ check_changed(buf_T *buf, int flags)
}
#endif
if (flags & CCGD_EXCMD)
- EMSG(_(e_nowrtmsg));
+ no_write_message();
else
- EMSG(_(e_nowrtmsg_nobang));
+ no_write_message_nobang();
return TRUE;
}
return FALSE;