aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.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 /modules/textadept/menu.lua
parent282c7dd9fe5c903a4620d41c9498153e83867119 (diff)
downloadtextadept-e192e73a92eb896f9c8623d11a8c49ebbcb4c291.tar.gz
textadept-e192e73a92eb896f9c8623d11a8c49ebbcb4c291.zip
Removed '_G' prefix from globals where necessary.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r--modules/textadept/menu.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index 9343efaa..3cab568d 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -1,9 +1,9 @@
-- Copyright 2007-2011 Mitchell mitchell<att>caladbolg.net. See LICENSE.
-- Modified by Robert Gieseke.
-local L = _G.locale.localize
-local events = _G.events
-local gui = _G.gui
+local L = locale.localize
+local events = events
+local gui = gui
---
-- Provides dynamic menus for Textadept.
@@ -317,7 +317,7 @@ end
-- entry is another table that corresponds to a particular menu. A menu can
-- have a 'title' key with string value. Each menu item is either a submenu
-- (another menu table) or a table consisting of two items: string menu text
--- and an action table just like `_G.keys`'s action table. If the menu text is
+-- and an action table just like `keys`'s action table. If the menu text is
-- 'separator', a menu separator is created and no action table is required.
function set_menubar(menubar)
menu_actions = {}