diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-13 16:46:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-13 16:46:21 +0200 |
commit | eb4883fabcb728df01e33054de987a752ef5482e (patch) | |
tree | 45b764571602e33ee1c83e5de09d69f481e8dbcc /src | |
parent | 103e6efc8488eaafa0e3fdc94b52a38687dbfe5c (diff) |
updated for version 7.2.420v7.2.420
Problem: ":argedit" does not accept "++enc=utf8" as documented. (Dominique
Pelle)
Solution: Add the ARGOPT flag to ":argedit".
Diffstat (limited to 'src')
-rw-r--r-- | src/ex_cmds.h | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index bf66b40619..4ba1bcd966 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -52,7 +52,7 @@ #define ARGOPT 0x40000L /* allow "++opt=val" argument */ #define SBOXOK 0x80000L /* allowed in the sandbox */ #define CMDWIN 0x100000L /* allowed in cmdline window */ -#define MODIFY 0x200000L /* forbidden in non-'modifiable' buffer */ +#define MODIFY 0x200000L /* forbidden in non-'modifiable' buffer */ #define EXFLAGS 0x400000L /* allow flags after count in argument */ #define FILES (XFILE | EXTRA) /* multiple extra files allowed */ #define WORD1 (EXTRA | NOSPC) /* one extra word allowed */ @@ -116,7 +116,7 @@ EX(CMD_argdelete, "argdelete", ex_argdelete, EX(CMD_argdo, "argdo", ex_listdo, BANG|NEEDARG|EXTRA|NOTRLCOM), EX(CMD_argedit, "argedit", ex_argedit, - BANG|NEEDARG|RANGE|NOTADR|FILE1|EDITCMD|TRLBAR), + BANG|NEEDARG|RANGE|NOTADR|FILE1|EDITCMD|ARGOPT|TRLBAR), EX(CMD_argglobal, "argglobal", ex_args, BANG|FILES|EDITCMD|ARGOPT|TRLBAR), EX(CMD_arglocal, "arglocal", ex_args, diff --git a/src/version.c b/src/version.c index 345e4c0b18..453a23b422 100644 --- a/src/version.c +++ b/src/version.c @@ -682,6 +682,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 420, +/**/ 419, /**/ 418, |