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. --- modules/textadept/menu.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/textadept/menu.lua') 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 mitchellcaladbolg.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 = {} -- cgit v1.2.3