diff --git a/basis/editors/editors.factor b/basis/editors/editors.factor index f07483b6ab..665dd74933 100644 --- a/basis/editors/editors.factor +++ b/basis/editors/editors.factor @@ -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 ;