summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/map.txt4
-rw-r--r--src/ex_docmd.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 4921f1a794..2a9dd1b369 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1,4 +1,4 @@
-*map.txt* For Vim version 7.0aa. Last change: 2004 Dec 29
+*map.txt* For Vim version 7.0aa. Last change: 2005 Feb 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -972,7 +972,7 @@ argument (-count=N, like the |:Next| command). Possible attributes are:
-range=N A count (default N) which is specified in the line
number position (like |:split|)
-count=N A count (default N) which is specified either in the line
- number position, or as an initial argument (like |:Next|)
+ number position, or as an initial argument (like |:Next|).
Specifying -count (without a default) acts like -count=0
Note that -range=N and -count=N are mutually exclusive - only one should be
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 22e2018da5..57bfb3751b 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -5236,7 +5236,7 @@ invalid_count:
}
else if (STRNICMP(attr, "count", attrlen) == 0)
{
- *argt |= (COUNT | ZEROR | NOTADR);
+ *argt |= (COUNT | ZEROR | RANGE | NOTADR);
if (val != NULL)
{