diff --git a/basis/prettyprint/stylesheet/stylesheet.factor b/basis/prettyprint/stylesheet/stylesheet.factor index 4056a27e9a..f19c34db2a 100644 --- a/basis/prettyprint/stylesheet/stylesheet.factor +++ b/basis/prettyprint/stylesheet/stylesheet.factor @@ -23,16 +23,19 @@ GENERIC: word-style ( word -- style ) M: word word-style [ presented associate ] - [ "word-style" word-prop >hashtable ] bi assoc-union ; + [ "word-style" word-prop ] bi assoc-union! ; M: highlighted-word word-style - call-next-method COLOR: DarkSlateGray foreground associate - swap assoc-union ; + call-next-method + COLOR: DarkSlateGray foreground pick set-at ;