]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.tools.listener: selecting a word from a completion popup now behaves like a USE...
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sat, 18 Jul 2009 11:55:15 +0000 (06:55 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sat, 18 Jul 2009 11:55:15 +0000 (06:55 -0500)
basis/ui/tools/listener/listener.factor

index e12e59d2599f328bc4c785931b68a3520f1ee124..e34e354a874f9851b8e12b3fc8dc59fd3c9d2584 100644 (file)
@@ -304,7 +304,8 @@ M: listener-operation invoke-command ( target command -- )
 : use-if-necessary ( word manifest -- )
     2dup [ vocabulary>> ] dip and [
         manifest [
-            vocabulary>> use-vocab
+            [ vocabulary>> use-vocab ]
+            [ dup name>> associate use-words ] bi
         ] with-variable
     ] [ 2drop ] if ;