Hi, The patch below fixes the computation of swank-version, which broke when (clojure-version) was defined to returned a string. The bug only manifests itself if swank-clojure-compile-p is set to t.
-Sudish Joseph From: Sudish Joseph <sud...@gmail.com> Date: Mon, 1 Jun 2009 19:18:11 -0400 Subject: [PATCH] clojure-version is now a string, tweak swank-version to match. --- swank/loader.clj | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/swank/loader.clj b/swank/loader.clj index 5f079f1..8a79025 100644 --- a/swank/loader.clj +++ b/swank/loader.clj @@ -55,8 +55,8 @@ (defn swank-version "A likely bad way of calculating a version number for swank clojure" ([] - (+ (reduce + (map file-last-modified (swank-source-files *swank-source-path*))) - (clojure-version)))) + (str (reduce + (map file-last-modified (swank-source-files *swank-source-path*))) + "+" (clojure-version)))) (defn delete-file-recursive [& paths] (when-not (empty? paths) -- 1.6.3.1 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---