From 429a7642d6beadc4ce37b902e31fa561f8382edb Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 28 Jul 2018 10:34:38 -0400 Subject: Removed optional '*' prefix in I/O reads. Lua 5.3 made them optional and LuaJIT support has been dropped. --- modules/textadept/editing.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/editing.lua') diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index 26f53449..9235aa70 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -601,7 +601,7 @@ function M.filter_through(command) local p = assert(spawn(commands[i])) p:write(output) p:close() - output = p:read('*a') or '' + output = p:read('a') or '' end buffer:replace_target(output:iconv('UTF-8', _CHARSET)) if s ~= e then -- cgit v1.2.3