Created
April 30, 2010 10:05
-
-
Save exterm/385027 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let [stop (atom false)] | |
(repl :read (fn [rprompt rexit] | |
(if @stop rexit | |
(do (swap! stop (fn [_] true)) | |
`(do (ignore-protocol-version nil) | |
(start-server "/tmp/slime-port.txt" | |
:encoding "iso-latin-1-unix" | |
:port ~port))))) | |
:need-prompt #(identity false))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment