Skip to main content

name_carries_lock

Function name_carries_lock 

Source
pub fn name_carries_lock(cs: &str) -> bool
Expand description

Whether the control sequence named cs carries a lock (is_name_locked’s two), read as a value whatever the unlocked state: Perl’s \newenvironment/\renewenvironment test LookupValue('\name:locked') directly (latex_constructs.pool.ltxml:2787-2803), so a class’s \renewenvironment{thebibliography} that a binding’s hook runs unlocked (as Perl runs before/after-digest code, Primitive.pm:44/:52) still leaves the locked environment alone (wiley2sp’s w2sp-pss.clo:444 in \AtEndOfClass: 100 of run 336’s PushbackLimit papers, 0710.1676, 0809.3379; ptptex: 0706.0316).