diff options
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. |