aboutsummaryrefslogtreecommitdiff
path: root/core/gui.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-06-24 17:41:51 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-06-24 17:41:51 -0400
commite192e73a92eb896f9c8623d11a8c49ebbcb4c291 (patch)
tree7c09774b3fa143126e8373c2a0c3d901f3e7273c /core/gui.lua
parent282c7dd9fe5c903a4620d41c9498153e83867119 (diff)
downloadtextadept-e192e73a92eb896f9c8623d11a8c49ebbcb4c291.tar.gz
textadept-e192e73a92eb896f9c8623d11a8c49ebbcb4c291.zip
Removed '_G' prefix from globals where necessary.
Diffstat (limited to 'core/gui.lua')
-rw-r--r--core/gui.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/gui.lua b/core/gui.lua
index 36c25165..24a68de9 100644
--- a/core/gui.lua
+++ b/core/gui.lua
@@ -1,7 +1,7 @@
-- Copyright 2007-2011 Mitchell mitchell<att>caladbolg.net. See LICENSE.
-local L = _G.locale.localize
-local gui = _G.gui
+local L = locale.localize
+local gui = gui
-- LuaDoc is in core/.gui.luadoc.
function gui.check_focused_buffer(buffer)
@@ -87,7 +87,7 @@ function gui.switch_buffer()
if i then view:goto_buffer(i + 1, true) end
end
-local connect = _G.events.connect
+local connect = events.connect
-- Sets default properties for a Scintilla window.
connect(events.VIEW_NEW, function()