aboutsummaryrefslogtreecommitdiff
path: root/core/file_io.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-07-12 13:03:56 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2009-07-12 13:03:56 -0400
commit5a2757d809ea3bb7a27877b8ac7e071e322f9413 (patch)
tree94bc768cbb1b43bb360414ac417d449e7724eb66 /core/file_io.lua
parent6eb0af0fbf8c19ef9c73e6aba08e782cc7db745d (diff)
downloadtextadept-5a2757d809ea3bb7a27877b8ac7e071e322f9413.tar.gz
textadept-5a2757d809ea3bb7a27877b8ac7e071e322f9413.zip
Lua code cleanup.
Diffstat (limited to 'core/file_io.lua')
-rw-r--r--core/file_io.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/file_io.lua b/core/file_io.lua
index bf0809cd..3d184c36 100644
--- a/core/file_io.lua
+++ b/core/file_io.lua
@@ -331,7 +331,7 @@ function load_session(filename, only_pm)
local anchor, current_pos, first_visible_line, filename =
line:match('^buffer: (%d+) (%d+) (%d+) (.+)$')
if not filename:find('^%[.+%]$') then
- textadept.io.open(filename or '', 'rb')
+ textadept.io.open(filename or '')
else
textadept.new_buffer()
buffer._type = filename