diff options
Diffstat (limited to 'modules/textadept/session.lua')
-rw-r--r-- | modules/textadept/session.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua index 8ae408fd..b44a777c 100644 --- a/modules/textadept/session.lua +++ b/modules/textadept/session.lua @@ -50,7 +50,7 @@ function M.load(filename) if filename == '' then return end local not_found = {} local f = io.open(filename, 'rb') - if not f then io.close_all() return false end + if not f then io.close_all_buffers() return false end local current_view, splits = 1, {[0] = {}} local lfs_attributes = lfs.attributes for line in f:lines() do |