Skip to content
This repository
Browse code

Merge fbreuer/master; fixing tmp dir on Windows.

  • Loading branch information...
commit 1fa3b830188fd644f13aecb235842f8d89138423 2 parents d2dec8d + 4ca9635
Phil Hagelberg authored

Showing 1 changed file with 5 additions and 4 deletions. Show diff stats Hide diff stats

  1. +5 4 src/swank/swank.clj
9 src/swank/swank.clj
@@ -67,10 +67,11 @@
67 67 (if @stop rexit
68 68 (do (swap! stop (fn [_] true))
69 69 `(do (ignore-protocol-version nil)
70   - (start-server (let [dir (System/getProperty "java.io.tmpdir")
71   - file (File. dir "slime-port.txt")]
72   - (.getCanonicalPath file))
73   - ~@(apply concat opts))))))
  70 + (start-server (-> "java.io.tmpdir"
  71 + (System/getProperty)
  72 + (File. "slime-port.txt")
  73 + (.getCanonicalPath)))
  74 + ~@(apply concat opts)))))
74 75 :need-prompt #(identity false))))
75 76 ([] (start-repl 4005)))
76 77

0 comments on commit 1fa3b83

Please sign in to comment.
Something went wrong with that request. Please try again.