aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-12-31 18:00:19 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2011-12-31 18:00:19 -0500
commitbd55d676f133a5b38ca53c33bf599d66dfe1fc87 (patch)
tree369c9cfa6fe5e32eeb3bc89d0a86d3c8def57044 /modules/textadept/command_entry.lua
parentae8dddf78ef5b07f4d64471d8f6800746373af6e (diff)
downloadtextadept-bd55d676f133a5b38ca53c33bf599d66dfe1fc87.tar.gz
textadept-bd55d676f133a5b38ca53c33bf599d66dfe1fc87.zip
Changed 'locale.localize()' to global '_L' table.
Diffstat (limited to 'modules/textadept/command_entry.lua')
-rw-r--r--modules/textadept/command_entry.lua5
1 files changed, 2 insertions, 3 deletions
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 mitchell<att>caladbolg.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)