aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r--modules/textadept/run.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua
index dbf0301f..e816ff39 100644
--- a/modules/textadept/run.lua
+++ b/modules/textadept/run.lua
@@ -103,11 +103,10 @@ local function command(commands, event)
end
preferred_view = view
- local events_emit = events.emit
local function emit_output(output, focus)
ui.SILENT_PRINT = not focus
for line in output:gmatch('[^\r\n]+') do
- events_emit(event, data, line:iconv('UTF-8', _CHARSET))
+ events.emit(event, data, line:iconv('UTF-8', _CHARSET))
end
ui.SILENT_PRINT = false
end