summaryrefslogtreecommitdiff
path: root/cider-common.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-10-21 23:36:07 +0100
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-10-21 23:36:07 +0100
commit4210c4d076f4b91585b5621d2b64097ae2483c55 (patch)
tree9f6cfc3566e07845795cc60d75e5f7b9bc9c44e7 /cider-common.el
parent33263a858cd4aa228f990cfc82e64a9a7a3b3c0a (diff)
Normalize the usage of if/when-let with that of let
Diffstat (limited to 'cider-common.el')
-rw-r--r--cider-common.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-common.el b/cider-common.el
index c09af577..0b47ada1 100644
--- a/cider-common.el
+++ b/cider-common.el
@@ -199,7 +199,7 @@ existing file ending with URL has been found."
(set-buffer-modified-p nil)
(set-auto-mode)
(current-buffer))))))
- (t (if-let (path (cider--file-path url))
+ (t (if-let ((path (cider--file-path url)))
(find-file-noselect path)
(unless (file-name-absolute-p url)
(let ((cider-buffers (cider-util--clojure-buffers))