summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@zimbu.org>2010-05-13 16:46:21 +0200
committerBram Moolenaar <bram@zimbu.org>2010-05-13 16:46:21 +0200
commit4c96949642685755add8121498453c83b0409a3a (patch)
tree7d6544acb56cf2f8ff5085e3f328d0529bdbb59d
parent78e2b3f7c7aaa9ad66e2ca67839b38c851932ff6 (diff)
downloadvim-4c96949642685755add8121498453c83b0409a3a.tar.gz
updated for version 7.2.420v7.2.420v7-2-420
Problem: ":argedit" does not accept "++enc=utf8" as documented. (Dominique Pelle) Solution: Add the ARGOPT flag to ":argedit".
-rw-r--r--src/ex_cmds.h4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index bf66b406..4ba1bcd9 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 345e4c0b..453a23b4 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,