Skip to content

Commit 209bd74

Browse files
committed
Switch to downcase from s-downcase
As part of this issue: clojure-emacs#293
1 parent 84892b0 commit 209bd74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clj-refactor.el

+4-4
Original file line numberDiff line numberDiff line change
@@ -2062,8 +2062,8 @@ If it's present KEY indicates the key to extract from the response."
20622062
(splitting the string at numbers and doing numeric compare with them).
20632063
It is optimized for version comparisons, in that empty strings are sorted
20642064
before non-empty. This lets 1.7.0 be sorted above 1.7.0-RC1."
2065-
(let ((str1-components (cljr--dict-split (s-downcase str1)))
2066-
(str2-components (cljr--dict-split (s-downcase str2))))
2065+
(let ((str1-components (cljr--dict-split (downcase str1)))
2066+
(str2-components (cljr--dict-split (downcase str2))))
20672067
(cljr--dict-lessp str1-components str2-components)))
20682068

20692069
(defun cljr--dict-lessp (slist1 slist2)
@@ -3089,8 +3089,8 @@ if REMOVE-PACKAGE_VERSION is t get rid of the (package: 20150828.1048) suffix."
30893089
"Check whether clj-refactor and nrepl-refactor versions are the same"
30903090
(let ((refactor-nrepl-version (or (cljr--middleware-version)
30913091
"n/a")))
3092-
(unless (string-equal (s-downcase refactor-nrepl-version)
3093-
(s-downcase (cljr--version :remove-package-version)))
3092+
(unless (string-equal (downcase refactor-nrepl-version)
3093+
(downcase (cljr--version :remove-package-version)))
30943094
(cider-repl-emit-interactive-stderr
30953095
(format "WARNING: clj-refactor and refactor-nrepl are out of sync.
30963096
Their versions are %s and %s, respectively.

0 commit comments

Comments
 (0)