diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-03-12 21:59:33 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-12 21:59:33 -0400 |
commit | b5bb6269b0f27c5192eaed6a069ba564c278760a (patch) | |
tree | 675c4cfe46db1eda93287965a3704ba65fa8cb44 /src/nvim/ex_cmds.c | |
parent | 5fcd12f8b54afbf5675f164ca1ecf774adc3dad2 (diff) | |
parent | 29ad67dd470a44f7697ca401d838c1dd38f7ef61 (diff) | |
download | rneovim-b5bb6269b0f27c5192eaed6a069ba564c278760a.tar.gz rneovim-b5bb6269b0f27c5192eaed6a069ba564c278760a.tar.bz2 rneovim-b5bb6269b0f27c5192eaed6a069ba564c278760a.zip |
Merge #2008 'Special interfaces cleanup'
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index e98032da5c..a47b303a4a 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -853,7 +853,7 @@ void do_bang(int addr_count, exarg_T *eap, int forceit, int do_in, int do_out) int scroll_save = msg_scroll; /* - * Disallow shell commands for "rvim". + * Disallow shell commands in restricted mode (-Z) * Disallow shell commands from .exrc and .vimrc in current directory for * security reasons. */ @@ -1217,7 +1217,7 @@ do_shell ( int save_nwr; /* - * Disallow shell commands for "rvim". + * Disallow shell commands in restricted mode (-Z) * Disallow shell commands from .exrc and .vimrc in current directory for * security reasons. */ @@ -3378,7 +3378,7 @@ void ex_z(exarg_T *eap) int check_restricted(void) { if (restricted) { - EMSG(_("E145: Shell commands not allowed in rvim")); + EMSG(_("E145: Shell commands not allowed in restricted mode")); return TRUE; } return FALSE; |