diff options
author | 2013-09-06 23:43:34 -0400 | |
---|---|---|
committer | 2013-09-06 23:43:34 -0400 | |
commit | 541f34101692ae85a61398ccae1e72d279fe4580 (patch) | |
tree | 3bcc29437581850607bcf0bfe194214214804423 /init.lua | |
parent | 9bff1b29293b50e506936e93c14d7a65e8b0ea29 (diff) | |
download | textadept-541f34101692ae85a61398ccae1e72d279fe4580.tar.gz textadept-541f34101692ae85a61398ccae1e72d279fe4580.zip |
Fixed bug in processing command line options introduced in r1546.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -12,10 +12,3 @@ package.cpath = _USERHOME..so.._USERHOME..'/modules'..so..package.cpath textadept = require('textadept') local ok, err = pcall(dofile, _USERHOME..'/init.lua') if not ok and lfs.attributes(_USERHOME..'/init.lua') then ui.print(err) end - -if arg then - events.emit(events.BUFFER_NEW) -- for the first buffer - events.emit(events.VIEW_NEW) -- for the first view - args.process(arg) -end -events.emit(events.INITIALIZED) |