]> gitweb.factorcode.org Git - factor.git/commitdiff
Make edit-vocab work on an unloaded vocabulary.
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 5 Nov 2011 06:33:18 +0000 (23:33 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 5 Nov 2011 06:33:18 +0000 (23:33 -0700)
basis/editors/editors.factor

index df854ab10579ba91d4a697c5a361ad81c8a2ba48..fbf04233f0cf099aa4a029367f27a5b0a07b02ec 100644 (file)
@@ -51,7 +51,7 @@ M: cannot-find-source error.
 DEFER: edit
 
 : edit-vocab ( vocab -- )
-    dup lookup-vocab [ edit ] [ cannot-find-source ] ?if ;
+    >vocab-link edit ;
 
 GENERIC: edit ( object -- )