Macro cleanup: HAVE_SANDBOX

This commit is contained in:
Michael Reed
2015-02-03 20:07:00 -05:00
committed by Justin M. Keyes
parent 0dd1ad0760
commit 357583ff8c
8 changed files with 17 additions and 53 deletions

View File

@@ -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) {