aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/run.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2016-06-15 08:50:54 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2016-06-15 08:50:54 -0400
commit86ea01e60bfb452e274f0f8340bdbbea8db6ffd0 (patch)
treeaa51d5cb933dfe86c1c96fd777c24e105ca08725 /modules/textadept/run.lua
parenta83a1d95ebbdfc62f848f813089002a274806e2f (diff)
downloadtextadept-86ea01e60bfb452e274f0f8340bdbbea8db6ffd0.tar.gz
textadept-86ea01e60bfb452e274f0f8340bdbbea8db6ffd0.zip
Renamed `ui.SILENT_PRINT` to `ui.silent_print`.
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r--modules/textadept/run.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua
index 837de06a..fa49d746 100644
--- a/modules/textadept/run.lua
+++ b/modules/textadept/run.lua
@@ -131,9 +131,9 @@ local function run_command(commands, event)
preferred_view = view
local function emit_output(output, focus)
- ui.SILENT_PRINT = not focus
+ ui.silent_print = not focus
for line in output:gmatch('[^\r\n]+') do events.emit(event, data, line) end
- ui.SILENT_PRINT = false
+ ui.silent_print = false
end
local function emit_status(status) emit_output('> exit status: '..status) end