Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Convert arg to a string before calling write (and document options arg)

Signed-off-by: Stuart Halloway <>
  • Loading branch information...
commit a1eff35124b923ef8539a35e7a292813ba54a0e0 1 parent a642708
@tomfaulhaber tomfaulhaber authored stuarthalloway committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/clj/clojure/core.clj
4 src/clj/clojure/core.clj
@@ -5367,11 +5367,11 @@
(defn spit
"Opposite of slurp. Opens f with writer, writes content, then
- closes f."
+ closes f. Options passed to"
{:added "1.2"}
[f content & options]
(with-open [#^ w (apply jio/writer f options)]
- (.write w content)))
+ (.write w (str content))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; futures (needs proxy);;;;;;;;;;;;;;;;;;
(defn future-call
Please sign in to comment.
Something went wrong with that request. Please try again.