aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/session.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/session.lua')
-rw-r--r--modules/textadept/session.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua
index 6127c779..503ee248 100644
--- a/modules/textadept/session.lua
+++ b/modules/textadept/session.lua
@@ -93,8 +93,8 @@ function load(filename)
end
return true
end
-events.connect('arg_none', -- load session when no args are present
- function() if SAVE_ON_QUIT then load() end end)
+-- Load session when no args are present.
+events.connect('arg_none', function() if SAVE_ON_QUIT then load() end end)
---
-- Saves a Textadept session to a file.