diff options
author | 2013-09-09 22:23:23 -0400 | |
---|---|---|
committer | 2013-09-09 22:23:23 -0400 | |
commit | ab270f6797d4a974c0b25167c78482cb818a0e07 (patch) | |
tree | d6c6e1b6929d21d2d42e373916b5dcfc34ca7f5b /core/init.lua | |
parent | 7e88330753edcf2df034e2240c2e77e1006d2e64 (diff) | |
download | textadept-ab270f6797d4a974c0b25167c78482cb818a0e07.tar.gz textadept-ab270f6797d4a974c0b25167c78482cb818a0e07.zip |
Use `events.ARG_NONE` constant instead of string.
Diffstat (limited to 'core/init.lua')
-rw-r--r-- | core/init.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/init.lua b/core/init.lua index d272281e..47e2677f 100644 --- a/core/init.lua +++ b/core/init.lua @@ -5,9 +5,9 @@ _RELEASE = "Textadept 7.0 beta 3" package.path = _HOME..'/core/?.lua;'..package.path _SCINTILLA = require('iface') -args = require('args') _L = require('locale') events = require('events') +args = require('args') require('file_io') require('lfs_ext') require('ui') @@ -17,9 +17,6 @@ _M = {} -- language modules table -- LuaJIT compatibility. if jit then module, package.searchers, bit32 = nil, package.loaders, bit end -events.connect(events.INITIALIZED, - function() if arg then args.process(arg) end end) - --[[ This comment is for LuaDoc. --- -- Extends Lua's _G table to provide extra functions and fields for Textadept. |