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.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua
index 917cb7a5..67850924 100644
--- a/modules/textadept/run.lua
+++ b/modules/textadept/run.lua
@@ -50,7 +50,7 @@ local preferred_view
local function command(cmd_table, compiling)
if not buffer.filename then return end
buffer:annotation_clear_all()
- buffer:save()
+ io.save_file()
local command = cmd_table[buffer.filename:match('[^.]+$')]
if not command then return end
if type(command) == 'function' then command = command() end