aboutsummaryrefslogtreecommitdiff
path: root/core/file_io.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-07-18 14:02:33 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2009-07-18 14:02:33 -0400
commitb81c4678ce7918ba0ed695f428356c579155e756 (patch)
tree1a14ed63e5a3c01916c56d26a817fcc5a17dddce /core/file_io.lua
parente63601aa008c254f76da7bf5e0310788fda3263d (diff)
downloadtextadept-b81c4678ce7918ba0ed695f428356c579155e756.tar.gz
textadept-b81c4678ce7918ba0ed695f428356c579155e756.zip
Fix bugs related to core/events.lua changes.
Diffstat (limited to 'core/file_io.lua')
-rw-r--r--core/file_io.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/file_io.lua b/core/file_io.lua
index d37caf1d..56f3777c 100644
--- a/core/file_io.lua
+++ b/core/file_io.lua
@@ -229,7 +229,7 @@ function save(buffer)
buffer:set_save_point()
buffer.modification_time = lfs.attributes(filename).modification
else
- textadept.events.error(err)
+ error(err)
end
if buffer._type then buffer._type = nil end
end