summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2018-08-17 13:39:37 +0200
committerBozhidar Batsov <bozhidar@batsov.com>2018-08-17 13:40:58 +0200
commit0a1f536bdf351ec756b7bd8c1bc0e8750a36b8aa (patch)
treeb4af0c8bc3274cbbff8b424ade1dfdf2a479ed12
parent076ab35e5b660e1fffd06738da45d96f995c5432 (diff)
[Fix #2421] Use the right version comparison function
Otherwise when you're on the minimum required version you'd get a warning.
-rw-r--r--cider-connection.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-connection.el b/cider-connection.el
index 46029d8e..67e6c390 100644
--- a/cider-connection.el
+++ b/cider-connection.el
@@ -207,7 +207,7 @@ message in the REPL area."
((null middleware-version)
(cider-emit-manual-warning "troubleshooting/#cider-complains-of-the-cider-nrepl-version"
"CIDER requires cider-nrepl to be fully functional. Many things will not work without it!"))
- ((version<= middleware-version cider-required-middleware-version)
+ ((version< middleware-version cider-required-middleware-version)
(cider-emit-manual-warning "troubleshooting/#cider-complains-of-the-cider-nrepl-version"
"CIDER %s requires cider-nrepl %s+, but you're currently using cider-nrepl %s. Things will break!"
cider-version cider-required-middleware-version middleware-version)))))