summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtx-context.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-11-25 23:15:50 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-11-25 23:15:50 +0100
commit7ecbcaaf68d152851591dbb5931a6eb15d155019 (patch)
tree45722ebceab0911372cd571bfc9b2c1ed992e747 /scripts/context/lua/mtx-context.lua
parent8d30ee280d6fb2db6268bf6f839c5f93193a6925 (diff)
downloadcontext-7ecbcaaf68d152851591dbb5931a6eb15d155019.tar.gz
2019-11-25 17:37:00
Diffstat (limited to 'scripts/context/lua/mtx-context.lua')
-rw-r--r--scripts/context/lua/mtx-context.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/context/lua/mtx-context.lua b/scripts/context/lua/mtx-context.lua
index 0a72522e5..4e8c364d5 100644
--- a/scripts/context/lua/mtx-context.lua
+++ b/scripts/context/lua/mtx-context.lua
@@ -1596,6 +1596,17 @@ end
do
+ local htmlerrorpage = getargument("htmlerrorpage")
+ if htmlerrorpage == "scite" then
+ directives.enable("system.showerror=scite")
+ elseif htmlerrorpage then
+ directives.enable("system.showerror")
+ end
+
+end
+
+do
+
local silent = getargument("silent")
if type(silent) == "string" then
directives.enable(format("logs.blocked={%s}",silent))