From 7af3a62b748ab62596b6815ac97c9cf527513a6c Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 10 Jun 2010 22:54:51 -0400 Subject: Moved textadept.io into Lua's io table. Renamed textadept.io.open to textadept.io.open_file to prevent conflicts. --- modules/textadept/run.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/run.lua') diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index e03665cb..c14e8e2d 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -117,7 +117,7 @@ function goto_error(pos, line_num) local utf8_filename = captures[error_detail.filename] local filename = textadept.iconv(utf8_filename, _CHARSET, 'UTF-8') if lfs.attributes(filename) then - textadept.io.open(utf8_filename) + io.open_file(utf8_filename) _m.textadept.editing.goto_line(captures[error_detail.line]) local msg = captures[error_detail.message] if msg then buffer:call_tip_show(buffer.current_pos, msg) end -- cgit v1.2.3