diff options
author | 2018-07-28 10:34:38 -0400 | |
---|---|---|
committer | 2018-07-28 10:34:38 -0400 | |
commit | 429a7642d6beadc4ce37b902e31fa561f8382edb (patch) | |
tree | 5eb55ba2c581403e4144efc57fd764c487e6e113 /modules/textadept/editing.lua | |
parent | 9ed6ce47681f06ef0b7f4afa8c081dab6d174eb9 (diff) | |
download | textadept-429a7642d6beadc4ce37b902e31fa561f8382edb.tar.gz textadept-429a7642d6beadc4ce37b902e31fa561f8382edb.zip |
Removed optional '*' prefix in I/O reads.
Lua 5.3 made them optional and LuaJIT support has been dropped.
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r-- | modules/textadept/editing.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |