mirror of https://github.com/rkd77/elinks.git synced 2024-07-23 16:14:32 -04:00

lua_console_hook must return "goto_url", not "goto-url".

This commit is contained in:
Kalle Olavi Niemitalo 2007-04-15 02:19:49 +03:00 committed by Kalle Olavi Niemitalo
parent f76f49345e
commit 20fbefbe18

View File

@ -173,7 +173,7 @@ lua_console_hook (string)::
- `return "eval", "somefunction(1+2)"` will attempt to call the Lua
function `somefunction` with an argument, 3.
- `return "goto-url", "http://www.bogus.com"` will ask Links to visit
- `return "goto_url", "http://www.bogus.com"` will ask Links to visit
the URL "http://www.bogus.com".
- `return nil` will do nothing.