aboutsummaryrefslogtreecommitdiff
path: root/core/file_io.lua
diff options
context:
space:
mode:
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