summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/node-aux.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-12-24 21:10:09 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-12-24 21:10:09 +0100
commitd40e81dea53da7bbc91df306814003f7720a167f (patch)
tree8aed8a716370cac0d04145a72405c1beed11b94d /tex/context/base/mkiv/node-aux.lua
parentd1f4da02201fd33c139ee1756296e8df53580ff7 (diff)
downloadcontext-d40e81dea53da7bbc91df306814003f7720a167f.tar.gz
2019-12-24 19:54:00
Diffstat (limited to 'tex/context/base/mkiv/node-aux.lua')
-rw-r--r--tex/context/base/mkiv/node-aux.lua14
1 files changed, 2 insertions, 12 deletions
diff --git a/tex/context/base/mkiv/node-aux.lua b/tex/context/base/mkiv/node-aux.lua
index 1567868d7..2a747f3b5 100644
--- a/tex/context/base/mkiv/node-aux.lua
+++ b/tex/context/base/mkiv/node-aux.lua
@@ -74,7 +74,6 @@ local unsetvalue = attributes.unsetvalue
local current_font = font.current
local texsetbox = tex.setbox
-local texnest = tex.nest
local report_error = logs.reporter("node-aux:error")
@@ -465,26 +464,17 @@ function nuts.use_components(head,current)
return head, first, last
end
--- function nuts.current_tail()
--- local whatever = texnest[texnest.ptr]
--- if whatever then
--- local tail = whatever.tail
--- if tail then
--- return tonut(tail)
--- end
--- end
--- end
-
do
local localparcodes = nodes.localparcodes
local hmodepar_code = localparcodes.vmode_par
local vmodepar_code = localparcodes.hmode_par
+ local getnest = tex.getnest
local getsubtype = nuts.getsubtype
function nuts.setparproperty(action,...)
- local tail = tonut(texnest[texnest.ptr].tail)
+ local tail = tonut(getnest().tail)
while tail do
if getid(tail) == localpar_code then
local s = getsubtype(tail)