diff --git a/extra/ui/commands/commands.factor b/extra/ui/commands/commands.factor index 90eb6254cd..c7db687dc3 100755 --- a/extra/ui/commands/commands.factor +++ b/extra/ui/commands/commands.factor @@ -66,7 +66,7 @@ M: word command-description ( word -- str ) H{ { +nullary+ f } { +listener+ f } { +description+ f } } ; : define-command ( word hash -- ) - default-flags swap assoc-union >r word-props r> update ; + [ word-props ] [ default-flags swap assoc-union ] bi* update ; : command-quot ( target command -- quot ) dup 1quotation swap +nullary+ word-prop