summaryrefslogtreecommitdiff
path: root/cider-eldoc.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-eldoc.el
parent33263a858cd4aa228f990cfc82e64a9a7a3b3c0a (diff)
Normalize the usage of if/when-let with that of let
Diffstat (limited to 'cider-eldoc.el')
-rw-r--r--cider-eldoc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-eldoc.el b/cider-eldoc.el
index fe31dd67..8dd69142 100644
--- a/cider-eldoc.el
+++ b/cider-eldoc.el
@@ -133,7 +133,7 @@ Return the number of nested sexp the point was over or after. "
;; check if we can used the cached eldoc info
(if (string= thing (car cider-eldoc-last-symbol))
(cdr cider-eldoc-last-symbol)
- (when-let (eldoc-info (cider-sync-request:eldoc (substring-no-properties thing)))
+ (when-let ((eldoc-info (cider-sync-request:eldoc (substring-no-properties thing))))
(let ((arglist (nrepl-dict-get eldoc-info "eldoc")))
(setq cider-eldoc-last-symbol (cons thing arglist))
arglist)))))