aboutsummaryrefslogtreecommitdiff
path: root/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 /init.lua
parent9bff1b29293b50e506936e93c14d7a65e8b0ea29 (diff)
downloadtextadept-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.lua7
1 files changed, 0 insertions, 7 deletions
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)