diff src/ex_cmds.h @ 3738:1ed93878d6e2 v7.3.628

updated for version 7.3.628 Problem: ":open" does not allow for a !, which results in a confusing error message. (Shawn Wilson) Solution: Allow ! on ":open". (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 08 Aug 2012 17:31:40 +0200
parents e5b925ae56e3
children 9ea14f097855
line wrap: on
line diff
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -662,7 +662,7 @@ EX(CMD_nunmap,		"nunmap",	ex_unmap,
 EX(CMD_nunmenu,		"nunmenu",	ex_menu,
 			EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
 EX(CMD_open,		"open",		ex_open,
-			RANGE|EXTRA),
+			RANGE|BANG|EXTRA),
 EX(CMD_oldfiles,	"oldfiles",	ex_oldfiles,
 			BANG|TRLBAR|SBOXOK|CMDWIN),
 EX(CMD_omap,		"omap",		ex_map,