diff options
author | Bram Moolenaar <bram@vim.org> | 2012-08-08 17:31:40 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2012-08-08 17:31:40 +0200 |
commit | 6b9730f2dd96e60abbd6bf697ff5a1a239ba8253 (patch) | |
tree | 1e5bb5311125faffe131d6a4e3e49875bccf0432 | |
parent | 0a56f4e2f29ef8937c0e853e32bfb22e92f3c24f (diff) | |
download | vim-6b9730f2dd96e60abbd6bf697ff5a1a239ba8253.tar.gz |
Problem: ":open" does not allow for a !, which results in a confusing error
message. (Shawn Wilson)
Solution: Allow ! on ":open". (Christian Brabandt)
-rw-r--r-- | src/ex_cmds.h | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index cfe15022..c81a1aa2 100644 --- 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, diff --git a/src/version.c b/src/version.c index 8a5054a6..c0108348 100644 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 628, +/**/ 627, /**/ 626, |