mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-18 22:06:01 +01:00
awful.util: fix eval
Do not need return actually. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
834a608999
commit
bf837f5d41
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ end
|
|||
--- Eval Lua code.
|
||||
-- @return The return value of Lua code.
|
||||
function eval(s)
|
||||
return assert(loadstring("return " .. s))()
|
||||
return assert(loadstring(s))()
|
||||
end
|
||||
|
||||
local xml_entity_names = { ["'"] = "'", ["\""] = """, ["<"] = "<", [">"] = ">", ["&"] = "&" };
|
||||
|
|
Loading…
Reference in a new issue