From adf6f06288a4278dcf31b32e0d8683ebcd5a2c62 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Mon, 25 Jun 2012 16:16:06 +0200 Subject: [cbk] rearranged two lines for clarity --- tex/context/third/enigma/enigma.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tex') diff --git a/tex/context/third/enigma/enigma.lua b/tex/context/third/enigma/enigma.lua index dfab813..942e9b6 100644 --- a/tex/context/third/enigma/enigma.lua +++ b/tex/context/third/enigma/enigma.lua @@ -1460,7 +1460,6 @@ local new_callback = function (machine, name) for n in nodetraverse(head) do local nid = n.id --print(utf8char(n.char), n) - print(n, (nid == GLYPH_NODE and utf8char(n.char) or false)) if nid == GLYPH_NODE then local chr = utf8char(n.char) --print(chr, n) @@ -1520,14 +1519,14 @@ local new_callback = function (machine, name) namespace = thirddata.enigma, processor = cbk, } + local cbk_location = "thirddata.enigma.callbacks." .. name nodestasksappendaction("processors", --"characters", --- this one is tagged “for users” --- (cf. node-tsk.lua) "before", - "thirddata.enigma.callbacks." .. name) - nodestasksdisableaction("processors", - "thirddata.enigma.callbacks." .. name) + cbk_location) + nodestasksdisableaction("processors", cbk_location) else enigma.callbacks[name] = cbk end -- cgit v1.2.3