1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

In run_lua_func, pass handle_ref 0 for the unref flag so that bindings

will work more than once.
This commit is contained in:
Miciah Dashiel Butler Masters 2005-12-17 01:42:20 +00:00 committed by Miciah Dashiel Butler Masters
parent 717b440f62
commit 35aa8119e3

View File

@ -262,7 +262,7 @@ run_lua_func(va_list ap, void *data)
return EVENT_HOOK_STATUS_NEXT;
}
handle_ref(L, ses, func_ref, "keyboard function", 0, 1);
handle_ref(L, ses, func_ref, "keyboard function", 0, 0);
return EVENT_HOOK_STATUS_NEXT;
}