summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-wrp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/typo-wrp.lua')
-rw-r--r--tex/context/base/typo-wrp.lua11
1 files changed, 7 insertions, 4 deletions
diff --git a/tex/context/base/typo-wrp.lua b/tex/context/base/typo-wrp.lua
index 1a3aac386..07639392f 100644
--- a/tex/context/base/typo-wrp.lua
+++ b/tex/context/base/typo-wrp.lua
@@ -67,7 +67,10 @@ function wrappers.handler(head)
return head, true
end
-function commands.enablecrlf()
- nodes.tasks.enableaction("processors","typesetters.wrappers.handler")
- function commands.enablecrlf() end
-end
+interfaces.implement {
+ name = "enablecrlf",
+ onlyonce = true,
+ actions = function()
+ nodes.tasks.enableaction("processors","typesetters.wrappers.handler")
+ end
+}