diff options
-rw-r--r-- | src/clj/clojure/core.clj | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj index 2664d0d9..a9e45d92 100644 --- a/src/clj/clojure/core.clj +++ b/src/clj/clojure/core.clj @@ -3207,12 +3207,11 @@ (apply pr more)))) (defn newline - "Writes a newline to the output stream that is the current value of - *out*" + "Writes a platform-specific newline to *out*" {:added "1.0" :static true} [] - (. *out* (append \newline)) + (. *out* (append (System/getProperty "line.separator"))) nil) (defn flush |