]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/editors/wordpad/wordpad.factor
editors: allow them to be loaded in the load-all image
[factor.git] / basis / editors / wordpad / wordpad.factor
index 3245e0cfd8e4babc08571aecf324f6bcfe20eaed..6d8fa4835c537ed71a4c62e65b87e3c8bd050802 100644 (file)
@@ -2,7 +2,8 @@ USING: arrays editors io.standard-paths kernel namespaces ;
 IN: editors.wordpad
 
 SINGLETON: wordpad
-wordpad editor-class set-global
+
+editor-class [ wordpad ] initialize
 
 : wordpad-path ( -- path )
     \ wordpad-path get [