From 78bcda2db6b0b8669a6fbcf63b1143602f544416 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 21 Jan 2011 00:41:36 -0500 Subject: Code cleanup. --- modules/textadept/keys.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/textadept/keys.lua') 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 = {} -- cgit v1.2.3