Permalink
Browse files

Re-enable ignore-protocol-version for backwards-compat with s-c-p.

Version 1.2.1.
  • Loading branch information...
1 parent f96e9f0 commit 0af258a279d42ea03ac12782fb2700f3602e9a78 @technomancy committed May 17, 2010
Showing with 6 additions and 3 deletions.
  1. +2 −2 README.md
  2. +1 −1 project.clj
  3. +3 −0 src/swank/swank.clj
View
@@ -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:
@@ -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:
View
@@ -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"]])
View
@@ -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

0 comments on commit 0af258a

Please sign in to comment.