diff options
author | 2013-09-09 22:23:23 -0400 | |
---|---|---|
committer | 2013-09-09 22:23:23 -0400 | |
commit | ab270f6797d4a974c0b25167c78482cb818a0e07 (patch) | |
tree | d6c6e1b6929d21d2d42e373916b5dcfc34ca7f5b /modules/textadept/session.lua | |
parent | 7e88330753edcf2df034e2240c2e77e1006d2e64 (diff) | |
download | textadept-ab270f6797d4a974c0b25167c78482cb818a0e07.tar.gz textadept-ab270f6797d4a974c0b25167c78482cb818a0e07.zip |
Use `events.ARG_NONE` constant instead of string.
Diffstat (limited to 'modules/textadept/session.lua')
-rw-r--r-- | modules/textadept/session.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua index b44a777c..81023328 100644 --- a/modules/textadept/session.lua +++ b/modules/textadept/session.lua @@ -114,7 +114,7 @@ function M.load(filename) return true end -- Load session when no args are present. -events.connect('arg_none', function() +events.connect(events.ARG_NONE, function() if M.SAVE_ON_QUIT then M.load(M.DEFAULT_SESSION) end end) |