summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-07 21:14:05 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-07 21:14:05 +0100
commita7583c42cd6b64fd276a5d7bb0db5ce7bfafa730 (patch)
treeee867b59f724d625198f985cb90cd84af7571b18 /src/evalfunc.c
parent249591057b4840785c50e41dd850efb8a8faf435 (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.c2
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,