diff options
author | 2011-01-21 00:41:36 -0500 | |
---|---|---|
committer | 2011-01-21 00:41:36 -0500 | |
commit | 78bcda2db6b0b8669a6fbcf63b1143602f544416 (patch) | |
tree | df837e91e357573ca84be0b20155189252337cec /modules/textadept/keys.lua | |
parent | 2247eeb38c71da492cb96711e133b353e7c3129d (diff) | |
download | textadept-78bcda2db6b0b8669a6fbcf63b1143602f544416.tar.gz textadept-78bcda2db6b0b8669a6fbcf63b1143602f544416.zip |
Code cleanup.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r-- | modules/textadept/keys.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index 584f37f0..257b6842 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -36,9 +36,7 @@ local function toggle_setting(setting, i) end local RECENT_FILES = 1 events.connect('user_list_selection', - function(type, text) - if type == RECENT_FILES then io.open_file(text) end - end) + function(type, text) if type == RECENT_FILES then io.open_file(text) end end) local function show_recent_file_list() local buffer = buffer local files = {} |