diff options
Diffstat (limited to 'core/ext')
-rw-r--r-- | core/ext/menu.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ext/menu.lua b/core/ext/menu.lua index 6549cbfd..b053cf91 100644 --- a/core/ext/menu.lua +++ b/core/ext/menu.lua @@ -369,7 +369,7 @@ local actions = { (textadept.session_file or ''):match('[^/\\]+$') or '', '--no-newline') if #utf8_filename > 0 then - t.io.load_session(t.iconv(utf8_filename, _CHARSET, 'UTF-8')) + _m.textadept.session.load(t.iconv(utf8_filename, _CHARSET, 'UTF-8')) end end }, @@ -384,7 +384,7 @@ local actions = { (textadept.session_file or ''):match('[^/\\]+$') or '', '--no-newline') if #utf8_filename > 0 then - t.io.save_session(t.iconv(utf8_filename, _CHARSET, 'UTF-8')) + _m.textadept.session.save(t.iconv(utf8_filename, _CHARSET, 'UTF-8')) end end }, |