Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge fbreuer/master; fixing tmp dir on Windows.

  • Loading branch information...
commit 1fa3b830188fd644f13aecb235842f8d89138423 2 parents d2dec8d + 4ca9635
@technomancy authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/swank/swank.clj
View
9 src/swank/swank.clj
@@ -67,10 +67,11 @@
(if @stop rexit
(do (swap! stop (fn [_] true))
`(do (ignore-protocol-version nil)
- (start-server (let [dir (System/getProperty "java.io.tmpdir")
- file (File. dir "slime-port.txt")]
- (.getCanonicalPath file))
- ~@(apply concat opts))))))
+ (start-server (-> "java.io.tmpdir"
+ (System/getProperty)
+ (File. "slime-port.txt")
+ (.getCanonicalPath)))
+ ~@(apply concat opts)))))
:need-prompt #(identity false))))
([] (start-repl 4005)))
Please sign in to comment.
Something went wrong with that request. Please try again.