According to :help arglistid(), it returns zero for invalid argument.
But it returns -1 instead.
diff -r 7af530381fec runtime/doc/eval.txt
--- a/runtime/doc/eval.txt Sun Aug 17 17:24:07 2014 +0200
+++ b/runtime/doc/eval.txt Tue Aug 19 21:28:25 2014 +0900
@@ -2113,7 +2113,7 @@
Return the argument list ID. This is a number which
identifies the argument list being used. Zero is used for the
global argument list.
- Return zero if the arguments are invalid.
+ Return -1 if the arguments are invalid.
Without arguments use the current window.
With {winnr} only use this window in the current tab page.
--
Yukihiro Nakadaira - [email protected]
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.