Skip to content

Commit cb2c7f1

Browse files
committed
[fix #795] correctly map on candidates in cider-eldoc-arglist
1 parent 017e708 commit cb2c7f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cider-eldoc.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ POS is the index of current argument."
9898
(let* ((var-info (cider-var-info thing t))
9999
(candidates (cdr (nrepl-dict-get var-info "candidates"))))
100100
(if candidates
101-
(->> candidates
102-
(-map (lambda (x) (nrepl-dict-get "arglists-str" x)))
101+
(->> (cl-loop for x on candidates by #'cddr
102+
collect (nrepl-dict-get (cadr x) "arglists-str"))
103103
(-map 'read)
104104
-flatten
105105
-distinct)

0 commit comments

Comments
 (0)