]> gitweb.factorcode.org Git - factor.git/commitdiff
editors: these should understand private.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 13 Aug 2012 17:32:27 +0000 (10:32 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 13 Aug 2012 17:32:27 +0000 (10:32 -0700)
basis/editors/editors.factor

index f07483b6ab65e70d6fa8902bc2c29d298c722896..665dd74933f634fa09430bec21ffb051a5f157ba 100644 (file)
@@ -56,7 +56,7 @@ M: cannot-find-source error.
 DEFER: edit
 
 : edit-vocab ( vocab -- )
-    >vocab-link edit ;
+    vocab-name* >vocab-link edit ;
 
 GENERIC: edit ( object -- )
 
@@ -90,7 +90,8 @@ M: string edit edit-vocab ;
 
 GENERIC: edit-docs ( object -- )
 
-M: object edit-docs vocab-docs-path 1 edit-location ;
+M: object edit-docs
+    vocab-name* vocab-docs-path 1 edit-location ;
 
 M: word edit-docs
     dup "help-loc" word-prop
@@ -100,7 +101,8 @@ M: word edit-docs
 
 GENERIC: edit-tests ( object -- )
 
-M: object edit-tests vocab-tests-path 1 edit-location ;
+M: object edit-tests
+    vocab-name* vocab-tests-path 1 edit-location ;
 
 M: word edit-tests vocabulary>> edit-tests ;