diff options
author | 2013-09-09 21:48:15 -0400 | |
---|---|---|
committer | 2013-09-09 21:48:15 -0400 | |
commit | 7e88330753edcf2df034e2240c2e77e1006d2e64 (patch) | |
tree | 63b7afd8d28129922e7eb5c1f64f7af9dd58813f /modules/textadept/run.lua | |
parent | 393e320d1f8170ff76fb18fca34b5dbdf36dd31f (diff) | |
download | textadept-7e88330753edcf2df034e2240c2e77e1006d2e64.tar.gz textadept-7e88330753edcf2df034e2240c2e77e1006d2e64.zip |
Moved buffer IO functions into the `io` module.
Menus and key bindings do not need `events.INITIALIZED`.
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r-- | modules/textadept/run.lua | 2 |
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 |