Minor update to the help text for the getreg*() functions

10 views
Skip to first unread message

Yegappan Lakshmanan

unread,
Sep 19, 2021, 11:18:25 AM9/19/21
to vim_dev
Hi,

If an empty string argument is passed to the getreg(), getreginfo() and
getregtype() functions, then the unnamed register is used. A minor
update to the help text is attached to document this.

- Yegappan
help.diff

Bram Moolenaar

unread,
Sep 19, 2021, 3:41:28 PM9/19/21
to vim...@googlegroups.com, Yegappan Lakshmanan
I'll include it, thanks.

Somehow the patch had spaces instead of tabs. I applied it manually.


--
Those who live by the sword get shot by those who don't.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Yegappan Lakshmanan

unread,
Sep 19, 2021, 10:10:39 PM9/19/21
to Bram Moolenaar, vim_dev
Hi Bram,

On Sun, Sep 19, 2021 at 12:41 PM Bram Moolenaar <Br...@moolenaar.net> wrote:
>
>
> Yegappan wrote:
>
> > If an empty string argument is passed to the getreg(), getreginfo() and
> > getregtype() functions, then the unnamed register is used. A minor
> > update to the help text is attached to document this.
>
> I'll include it, thanks.
>
> Somehow the patch had spaces instead of tabs. I applied it manually.
>

Thanks. When I copied this part of the change from a larger diff between a
Linux system and a Windows system, I think the tabs were converted
to spaces. Sorry about that.

Regards,
Yegappan
Reply all
Reply to author
Forward
0 new messages