aboutsummaryrefslogtreecommitdiff
path: root/core/init.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-09-06 23:43:34 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-09-06 23:43:34 -0400
commit541f34101692ae85a61398ccae1e72d279fe4580 (patch)
tree3bcc29437581850607bcf0bfe194214214804423 /core/init.lua
parent9bff1b29293b50e506936e93c14d7a65e8b0ea29 (diff)
downloadtextadept-541f34101692ae85a61398ccae1e72d279fe4580.tar.gz
textadept-541f34101692ae85a61398ccae1e72d279fe4580.zip
Fixed bug in processing command line options introduced in r1546.
Diffstat (limited to 'core/init.lua')
-rw-r--r--core/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/init.lua b/core/init.lua
index 522fae00..a1cca760 100644
--- a/core/init.lua
+++ b/core/init.lua
@@ -17,6 +17,9 @@ _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.