]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/core-text/core-text.factor
core/basis/extra: using STARTUP-HOOK: and SHUTDOWN-HOOK:
[factor.git] / basis / core-text / core-text.factor
index 9b98890c801e060965b215848a0353436e1758df..fc5b9c7d6f4ff61a0368766311bf66940a1e2155 100644 (file)
@@ -172,4 +172,4 @@ SYMBOL: cached-lines
 : cached-line ( font string -- line )
     cached-lines get-global [ <line> ] 2cache ;
 
-[ <cache-assoc> cached-lines set-global ] "core-text" add-startup-hook
+STARTUP-HOOK: [ <cache-assoc> cached-lines set-global ]