X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/92d17d289c64eb8416a881e4fe0113a64b534003..fd2e616097ac4cb072957b3f0b8134ac1970f831:/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