aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 8c537ff2..f00dc278 100644
--- a/init.lua
+++ b/init.lua
@@ -54,7 +54,7 @@ if not RESETTING then
table.remove(arg, 1)
end
if #arg == 0 then
- textadept.io.load_session()
+ _m.textadept.session.load()
else
local base_dir = arg[0]:match('^.+/') or ''
for _, filename in ipairs(arg) do
@@ -62,7 +62,7 @@ if not RESETTING then
textadept.io.open(filename)
end
-- read only the Project Manager session settings
- if not textadept.io.load_session(nil, true) then
+ if not _m.textadept.session.load(nil, true) then
textadept.pm.entry_text = 'buffers'
textadept.pm.activate()
end