Hi,

On Tue, May 22, 2018 at 8:35 PM, Bram Moolenaar <b...@moolenaar.net> wrote:
>
> Patch 8.1.0020
> Problem:    Cannot tell whether a register is being used for executing or
>             recording.
> Solution:   Add reg_executing() and reg_recording(). (Hirohito Higashi,
>             closes #2745)  Rename the global variables for consistency.  Store
>             the register name in reg_executing.
> Files:      runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
>             src/testdir/test_functions.vim, src/getchar.c, src/normal.c,
>             src/ops.c, src/globals.h, src/edit.c, src/fileio.c, src/message.c,
>             src/screen.c
>
>
> *** ../vim-8.1.0019/runtime/doc/eval.txt        2018-05-17 15:06:48.000000000 
> +0200
> --- runtime/doc/eval.txt        2018-05-22 20:25:41.869831935 +0200
> ***************
> *** 2302,2307 ****
> --- 2302,2309 ----
>                                 List    items from {expr} to {max}
>   readfile({fname} [, {binary} [, {max}]])
>                                 List    get list of lines from file {fname}
> + reg_executing()                       Number  get the executing register 
> name
> + reg_recording()                       String  get the recording register 
> name
>   reltime([{start} [, {end}]])  List    get time value
>   reltimefloat({time})          Float   turn the time value into a Float
>   reltimestr({time})            String  turn time value into a String

Shouldn't both these functions have "String" as their return type?

Christ van Willegen

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui