From 541f34101692ae85a61398ccae1e72d279fe4580 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 6 Sep 2013 23:43:34 -0400 Subject: Fixed bug in processing command line options introduced in r1546. --- init.lua | 7 ------- 1 file changed, 7 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index aff2c07f..dcfd3436 100644 --- a/init.lua +++ b/init.lua @@ -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) -- cgit v1.2.3