From e192e73a92eb896f9c8623d11a8c49ebbcb4c291 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 24 Jun 2011 17:41:51 -0400 Subject: Removed '_G' prefix from globals where necessary. --- core/keys.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'core/keys.lua') 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 mitchellcaladbolg.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 -- cgit v1.2.3