X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/92d17d289c64eb8416a881e4fe0113a64b534003..9ef2c734cab14737428ce1f03c15a8c4752e09e3:/helpers.lua diff --git a/helpers.lua b/helpers.lua index 4d75f7b..d3fa259 100644 --- a/helpers.lua +++ b/helpers.lua @@ -12,7 +12,8 @@ local io = { lines = io.lines, open = io.open } local pairs = pairs local rawget = rawget -local table = { sort = table.sort } +local table = { sort = table.sort, unpack = table.unpack } +local unpack = unpack or table.unpack -- lua 5.1 retro-compatibility -- Lain helper functions for internal use -- lain.helpers