Skip to content

Commit

Permalink
Re-enable ignore-protocol-version for backwards-compat with s-c-p.
Browse files Browse the repository at this point in the history
Version 1.2.1.
  • Loading branch information
technomancy committed May 17, 2010
1 parent f96e9f0 commit 0af258a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -12,7 +12,7 @@ Add Swank Clojure to your project as a development dependency to your
project. If you are using Leiningen, add it to your project.clj file
under :dev-dependencies:

:dev-dependencies [[swank-clojure "1.2.0"]]
:dev-dependencies [[swank-clojure "1.2.1"]]

Once you run "lein deps" you can launch a swank server from the
command line:
Expand All @@ -28,7 +28,7 @@ If you're using Maven, add this to your pom.xml under the
<dependency>
<groupId>swank-clojure</groupId>
<artifactId>swank-clojure</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
</dependency>

Then you can launch a swank server like so:
Expand Down
2 changes: 1 addition & 1 deletion project.clj
@@ -1,4 +1,4 @@
(defproject swank-clojure "1.2.0"
(defproject swank-clojure "1.2.1"
:description "Swank server connecting Clojure to Emacs SLIME"
:url "http://github.com/technomancy/swank-clojure"
:dev-dependencies [[org.clojure/clojure "1.2.0-master-SNAPSHOT"]])
3 changes: 3 additions & 0 deletions src/swank/swank.clj
Expand Up @@ -20,6 +20,9 @@
[java.io File])
(:gen-class))

(defn ignore-protocol-version [version]
(reset! *protocol-version* version))

(defn- connection-serve [conn]
(let [control
(dothread-swank
Expand Down

0 comments on commit 0af258a

Please sign in to comment.