]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/bootstrap/image/image.factor
namespaces: adding a "with-global" word to replace "global [ ] bind".
[factor.git] / basis / bootstrap / image / image.factor
index 650bbd8103d0193bfab0414f0c509c1d08e4123a..f7b95657d4b76be39b16ca5a8bf57f4e02a977e7 100755 (executable)
@@ -330,7 +330,7 @@ M: f ' drop \ f type-number ;
 ! Words
 
 : word-sub-primitive ( word -- obj )
-    global [ target-word ] bind sub-primitives get at ;
+    [ target-word ] with-global sub-primitives get at ;
 
 : emit-word ( word -- )
     [