Restores the standard-out appender's thread safety.

Since commit 71218f7086 `str-println`
no longer prints the newline with the other output, this is restored.
This commit is contained in:
Jan-Paul Bultmann 2013-09-12 18:44:30 +02:00
parent a6ecb2c1e6
commit 168ba46c24
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
"Like `println` but prints all objects to output stream as a single
atomic string. This is faster and avoids interleaving race conditions."
[& xs]
(print (str/join \space (filter identity xs)) \newline)
(print (str (str/join \space (filter identity xs)) \newline))
(flush))
(defn color-str [color & xs]