From bd55d676f133a5b38ca53c33bf599d66dfe1fc87 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 31 Dec 2011 18:00:19 -0500 Subject: Changed 'locale.localize()' to global '_L' table. --- modules/textadept/command_entry.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/textadept/command_entry.lua') diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua index 465e7a02..9ee6dc0e 100644 --- a/modules/textadept/command_entry.lua +++ b/modules/textadept/command_entry.lua @@ -1,9 +1,6 @@ -- Copyright 2007-2011 Mitchell mitchellcaladbolg.net. See LICENSE. -- Modified by Jay Gould. -local L = locale.localize -local events = events - --[[ This comment is for LuaDoc. --- -- Textadept's Command entry. @@ -35,6 +32,8 @@ local env = setmetatable({}, { end, }) +local events = events + -- Execute a Lua command. events.connect(events.COMMAND_ENTRY_COMMAND, function(command) local f, err = load(command, nil, 'bt', env) -- cgit v1.2.3