Michael Henry wrote:

> Here is a small patch to the getpos() documentation.
> 
> diff -r 8bb4ca7fba40 runtime/doc/eval.txt
> --- a/runtime/doc/eval.txt      Wed Oct 22 22:09:01 2014 +0200
> +++ b/runtime/doc/eval.txt      Sun Nov 23 07:48:21 2014 -0500
> @@ -3514,7 +3514,7 @@
>                 This can be used to save and restore the position of a
> mark: >
>                         let save_a_mark = getpos("'a")
>                         ...
> -                       call setpos(''a', save_a_mark
> +                       call setpos("'a", save_a_mark
>  <              Also see |getcurpos()| and |setpos()|.

Thanks.  Also, a parenthesis is missing.

-- 
If you only have a hammer, you tend to see every problem as a nail.
If you only have MS-Windows, you tend to solve every problem by rebooting.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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.

Raspunde prin e-mail lui