diff options
Diffstat (limited to 'modules/textadept/command_entry.lua')
-rw-r--r-- | modules/textadept/command_entry.lua | 5 |
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) |