aboutsummaryrefslogtreecommitdiff
path: root/org.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-07 17:41:10 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-07 17:41:10 +0200
commitd4595bb00f1365c65fddf11efd7d8d091b453482 (patch)
tree9cf3e5976b9fa7ad14bf84ec4c3fc2fd00ffc7a6 /org.lua
parent8b38567d751848d93b18e96de1cddde339ebdbf0 (diff)
downloadvicious-legacy-d4595bb00f1365c65fddf11efd7d8d091b453482.tar.xz
All worker functions are local.
Diffstat (limited to 'org.lua')
-rw-r--r--org.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.lua b/org.lua
index a4c1754..d0a2315 100644
--- a/org.lua
+++ b/org.lua
@@ -20,7 +20,7 @@ module("vicious.org")
-- {{{ OrgMode widget type
-function worker(format, files)
+local function worker(format, files)
-- Compute delays
local today = os.time{ year=os.date("%Y"), month=os.date("%m"), day=os.date("%d") }
local soon = today + 24 * 3600 * 3 -- 3 days ahead is close