pub fn swap_copy_provides_hook_seam(on: bool)Expand description
Put lthooks’ code registration (\AddToHook code, the inner macro latex.ltx’s \AddToHook hands the hook name,
label and code: \hook_gput_code:nnn{#1}{#2}{#3}) under \lx@copy@provides@AddToHook, which registers nothing
(copy_provides_defers), while on — a stand-in’s copy is read — and back after. The kernel’s
own meaning is kept as \lx@copy@provides@saved@AddToHook. No-op where the format has no hooks or no seam is
defined.