mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
Macro cleanup: HAVE_SANDBOX
This commit is contained in:

committed by
Justin M. Keyes

parent
0dd1ad0760
commit
357583ff8c
@@ -295,13 +295,11 @@ int undo_allowed(void)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#ifdef HAVE_SANDBOX
|
||||
/* In the sandbox it's not allowed to change the text. */
|
||||
// In the sandbox it's not allowed to change the text.
|
||||
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. */
|
||||
|
Reference in New Issue
Block a user