From e192e73a92eb896f9c8623d11a8c49ebbcb4c291 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 24 Jun 2011 17:41:51 -0400 Subject: Removed '_G' prefix from globals where necessary. --- modules/textadept/adeptsense.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/adeptsense.lua') diff --git a/modules/textadept/adeptsense.lua b/modules/textadept/adeptsense.lua index f7166660..cadbebcb 100644 --- a/modules/textadept/adeptsense.lua +++ b/modules/textadept/adeptsense.lua @@ -610,7 +610,7 @@ function show_apidoc(sense) if apidocs.pos < 1 then apidocs.pos = #apidocs end buffer:call_tip_show(buffer.current_pos, apidocs[apidocs.pos]) end) - _G.timeout(1, function() + timeout(1, function() if pcall(buffer.call_tip_active, buffer) then return true end events.disconnect(events.CALL_TIP_CLICK, event_id) end) -- cgit v1.2.3