diff options
| author | Philipp Gesang <gesang@stud.uni-heidelberg.de> | 2012-06-25 16:16:06 +0200 | 
|---|---|---|
| committer | Philipp Gesang <gesang@stud.uni-heidelberg.de> | 2012-06-25 16:16:06 +0200 | 
| commit | adf6f06288a4278dcf31b32e0d8683ebcd5a2c62 (patch) | |
| tree | 229f5314e9bf04cf63ff20ddebbe3d629351361e /tex/context/third | |
| parent | 3736d77fdb65af1ab6a051a9557c379d239b668b (diff) | |
| download | enigma-adf6f06288a4278dcf31b32e0d8683ebcd5a2c62.tar.gz | |
[cbk] rearranged two lines for clarity
Diffstat (limited to 'tex/context/third')
| -rw-r--r-- | tex/context/third/enigma/enigma.lua | 7 | 
1 files changed, 3 insertions, 4 deletions
| 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 | 
