changeset 3916:9ea14f097855 v7.3.714

updated for version 7.3.714 Problem: Inconsistency: :set can be used in the sandbox, but :setlocal and :setglobal cannot. (Michael Henry) Solution: Fix the flags for :setlocal and :setglobal. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 14 Nov 2012 20:52:28 +0100
parents 51ba8061b6d2
children dd8396fc7518
files src/ex_cmds.h src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -832,9 +832,9 @@ EX(CMD_set,		"set",		ex_set,
 EX(CMD_setfiletype,	"setfiletype",	ex_setfiletype,
 			TRLBAR|EXTRA|NEEDARG|CMDWIN),
 EX(CMD_setglobal,	"setglobal",	ex_set,
-			TRLBAR|EXTRA|CMDWIN),
+			TRLBAR|EXTRA|CMDWIN|SBOXOK),
 EX(CMD_setlocal,	"setlocal",	ex_set,
-			TRLBAR|EXTRA|CMDWIN),
+			TRLBAR|EXTRA|CMDWIN|SBOXOK),
 EX(CMD_sfind,		"sfind",	ex_splitview,
 			BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR),
 EX(CMD_sfirst,		"sfirst",	ex_rewind,
--- a/src/version.c
+++ b/src/version.c
@@ -726,6 +726,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    714,
+/**/
     713,
 /**/
     712,