]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.0.0560: :windo allows for ! but it's not supported v8.0.0560
authorBram Moolenaar <Bram@vim.org>
Mon, 10 Apr 2017 19:46:38 +0000 (21:46 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 10 Apr 2017 19:46:38 +0000 (21:46 +0200)
Problem:    :windo allows for ! but it's not supported.
Solution:   Disallow passing !. (Hirohito Higashi)

src/ex_cmds.h
src/version.c

index 88dfbb987482fa028439434c17b113cd41d94498..531bd0e16f8be428a0af93665517ec8249c0ccd7 100644 (file)
@@ -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,
index e73e1fa81da77551cf6b8c2556102b0dae507ec6..325be558f31417222650cb706f62214dc9a42f9a 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    560,
 /**/
     559,
 /**/