aboutsummaryrefslogtreecommitdiff
path: root/core/events.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/events.lua')
-rw-r--r--core/events.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua
index 13a41077..f9f6d484 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -477,3 +477,5 @@ function error(...)
end
pcall( handle_error, unpack{...} ) -- prevent endless loops if this errors
end
+
+textadept.print = error