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

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

[ From commit 20fbefbe18 in ELinks
  0.12.GIT.  --KON ]
This commit is contained in:
Kalle Olavi Niemitalo 2007-04-15 02:19:49 +03:00 committed by Kalle Olavi Niemitalo
parent 2db5af36c8
commit b1f1e9911b

View File

@ -173,7 +173,7 @@ lua_console_hook (string)::
`someprogram`. `someprogram`.
- `return "eval", "somefunction(1+2)"` will attempt to call the Lua - `return "eval", "somefunction(1+2)"` will attempt to call the Lua
function `somefunction` with an argument, 3. 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". the URL "http://www.bogus.com".
- `return nil` will do nothing. - `return nil` will do nothing.