diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2011-06-24 17:41:51 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2011-06-24 17:41:51 -0400 |
commit | e192e73a92eb896f9c8623d11a8c49ebbcb4c291 (patch) | |
tree | 7c09774b3fa143126e8373c2a0c3d901f3e7273c /core/keys.lua | |
parent | 282c7dd9fe5c903a4620d41c9498153e83867119 (diff) |
Removed '_G' prefix from globals where necessary.
Diffstat (limited to 'core/keys.lua')
-rw-r--r-- | core/keys.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/keys.lua b/core/keys.lua index bdd146ad..1fe62b17 100644 --- a/core/keys.lua +++ b/core/keys.lua @@ -1,6 +1,6 @@ -- Copyright 2007-2011 Mitchell mitchell<att>caladbolg.net. See LICENSE. -local L = _G.locale.localize +local L = locale.localize --- -- Manages key commands in Textadept. @@ -92,12 +92,12 @@ local ALT = 'a'..ADD -- end settings -- Optimize for speed. -local string = _G.string +local string = string local string_char = string.char -local xpcall = _G.xpcall -local next = _G.next -local type = _G.type -local unpack = _G.unpack +local xpcall = xpcall +local next = next +local type = type +local unpack = unpack local no_args = {} local getmetatable = getmetatable local error = function(e) events.emit(events.ERROR, e) end |