diff options
author | 2009-12-11 15:43:50 -0500 | |
---|---|---|
committer | 2009-12-11 15:43:50 -0500 | |
commit | 0896150b65e97f101b109e92feb7197d1c99848d (patch) | |
tree | 732af79efc194bb8afc660d7fe7dce8d630964dd /modules | |
parent | 9225218eb00f350dd32a8a8592029f12ea7fb1d9 (diff) | |
download | textadept-0896150b65e97f101b109e92feb7197d1c99848d.tar.gz textadept-0896150b65e97f101b109e92feb7197d1c99848d.zip |
Fix error message for session file not found; modules/textadept/session.lua
Diffstat (limited to 'modules')
-rw-r--r-- | modules/textadept/session.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua index 95251c9c..3e7b48aa 100644 --- a/modules/textadept/session.lua +++ b/modules/textadept/session.lua @@ -31,6 +31,7 @@ function load(filename, only_pm) if not only_pm and not f then if not textadept.io.close_all() then return false end end + if not f then return false end local current_view, splits = 1, { [0] = {} } for line in f:lines() do if not only_pm then |