diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-07 21:14:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-07 21:14:05 +0100 |
commit | a7583c42cd6b64fd276a5d7bb0db5ce7bfafa730 (patch) | |
tree | ee867b59f724d625198f985cb90cd84af7571b18 /src/evalfunc.c | |
parent | 249591057b4840785c50e41dd850efb8a8faf435 (diff) |
patch 8.2.4912: using execute() to define a lambda doesn't workv8.2.4912
Problem: Using execute() to define a lambda doesn't work. (Ernie Rael)
Solution: Put the getline function in evalarg. (closes #10375)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 667d4f3467..efade6cab6 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -3868,7 +3868,7 @@ execute_cmds_from_string(char_u *str) * Called by do_cmdline() to get the next line. * Returns allocated string, or NULL for end of function. */ - static char_u * + char_u * get_list_line( int c UNUSED, void *cookie, |