changeset 11350:10e51185826a v8.0.0560

patch 8.0.0560: :windo allows for ! but it's not supported commit https://github.com/vim/vim/commit/451a4a1cb7797e5d9b9fd625671cb5c652e7da00 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 10 21:46:38 2017 +0200 patch 8.0.0560: :windo allows for ! but it's not supported Problem: :windo allows for ! but it's not supported. Solution: Disallow passing !. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Mon, 10 Apr 2017 22:00:04 +0200
parents 1850d2412654
children 9f40755e5429
files src/ex_cmds.h src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -1623,7 +1623,7 @@ EX(CMD_wincmd,		"wincmd",	ex_wincmd,
 			NEEDARG|WORD1|RANGE|NOTADR,
 			ADDR_WINDOWS),
 EX(CMD_windo,		"windo",	ex_listdo,
-			BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL,
+			NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL,
 			ADDR_WINDOWS),
 EX(CMD_winpos,		"winpos",	ex_winpos,
 			EXTRA|TRLBAR|CMDWIN,
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    560,
+/**/
     559,
 /**/
     558,