diff options
author | 2010-06-18 16:57:05 -0400 | |
---|---|---|
committer | 2010-06-18 16:57:05 -0400 | |
commit | 4d811a578baaae01c1aad34d9f3c176c40831841 (patch) | |
tree | 52e6aeb9d568224d87809b528be4d4872718ac1f /modules/textadept/session.lua | |
parent | 44d46d022675756783e3c007923a77446d52b7e7 (diff) | |
download | textadept-4d811a578baaae01c1aad34d9f3c176c40831841.tar.gz textadept-4d811a578baaae01c1aad34d9f3c176c40831841.zip |
Fixed bug with args and sessions.
Diffstat (limited to 'modules/textadept/session.lua')
-rw-r--r-- | modules/textadept/session.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua index d3b7a1e4..5f5c4666 100644 --- a/modules/textadept/session.lua +++ b/modules/textadept/session.lua @@ -95,7 +95,8 @@ function load(filename) end return true end -events.connect('arg_none', load) -- load session when no args are present +events.connect('arg_none', -- load session when no args are present + function() if SAVE_ON_QUIT then load() end end) --- -- Saves a Textadept session to a file. |