diff options
author | Dieter Komendera <dieter@komendera.com> | 2018-10-28 21:57:05 +0100 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2018-11-18 18:36:50 +0100 |
commit | 6679d5d8d86c0ed789124556989bdedeb9a38ccc (patch) | |
tree | 21eaea4cb5cbb4180af7d2ab055483ca164074c5 /cider-resolve.el | |
parent | a94006196db0244abf2db424ef2e8b7b614ad4c0 (diff) |
Use symbols for repl types instead of strings and efficient comparisons
Make public functions backwards compatible by converting type string to symbol
Diffstat (limited to 'cider-resolve.el')
-rw-r--r-- | cider-resolve.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-resolve.el b/cider-resolve.el index 3c2dc6fd..195ca1c5 100644 --- a/cider-resolve.el +++ b/cider-resolve.el @@ -107,7 +107,7 @@ This will be clojure.core or cljs.core depending on the return value of the function `cider-repl-type'." (when-let* ((repl (cider-current-repl))) (with-current-buffer repl - (cider-resolve--get-in (if (equal cider-repl-type "cljs") + (cider-resolve--get-in (if (eq cider-repl-type 'cljs) "cljs.core" "clojure.core"))))) |