mirror of
https://github.com/neovim/neovim.git
synced 2025-11-25 03:30:37 +00:00
Macro cleanup: HAVE_SANDBOX
This commit is contained in:
committed by
Justin M. Keyes
parent
0dd1ad0760
commit
357583ff8c
@@ -268,13 +268,11 @@ edit (
|
||||
// set Insstart_orig to Insstart
|
||||
update_Insstart_orig = true;
|
||||
|
||||
#ifdef HAVE_SANDBOX
|
||||
/* Don't allow inserting in the sandbox. */
|
||||
// Don't allow inserting in the sandbox.
|
||||
if (sandbox != 0) {
|
||||
EMSG(_(e_sandbox));
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
/* Don't allow changes in the buffer while editing the cmdline. The
|
||||
* caller of getcmdline() may get confused. */
|
||||
if (textlock != 0) {
|
||||
|
||||
Reference in New Issue
Block a user