I noticed this when updating cider via melpa, and I wasn't sure if it's
already known about or whether it is even an problem. I thought I'd ask
here before submitting an issue to github.
Compiling file
/Users/peterhull/.emacs.d/elpa/cider-20171209.1602/cider-browse-spec.el at
Sun Dec 10 11:29:29 2017
cider-browse-spec.el:277:1:Error: Wrong number of arguments: when-let, 1
Compiling file
/Users/peterhull/.emacs.d/elpa/cider-20171209.1602/cider-classpath.el at
Sun Dec 10 11:29:29 2017
cider-classpath.el:102:1:Error: Wrong number of arguments: when-let, 1
Compiling file
/Users/peterhull/.emacs.d/elpa/cider-20171209.1602/cider-client.el at Sun
Dec 10 11:29:29 2017
cider-client.el:143:1:Error: Wrong number of arguments: when-let, 1
Compiling file
/Users/peterhull/.emacs.d/elpa/cider-20171209.1602/cider-common.el at Sun
Dec 10 11:29:29 2017
cider-common.el:186:1:Error: Wrong number of arguments: when-let, 4
Compiling file
/Users/peterhull/.emacs.d/elpa/cider-20171209.1602/cider-compat.el at Sun
Dec 10 11:29:29 2017
Compiling file
/Users/peterhull/.emacs.d/elpa/cider-20171209.1602/cider-debug.el at Sun
Dec 10 11:29:29 2017
cider-debug.el:226:1:Error: Wrong number of arguments: when-let, 1
Compiling file
/Users/peterhull/.emacs.d/elpa/cider-20171209.1602/cider-doc.el at Sun Dec
10 11:29:29 2017
cider-doc.el:263:1:Error: Wrong number of arguments: when-let, 1
And for example, the first instance looks like this
(defun cider-browse-spec--browse-at (&optional pos)
"View the definition of a spec.
Optional argument POS is the position of a spec, defaulting to point. POS
may also be a button, so this function can be used a the button's `action'
property."
(interactive)
(let ((pos (or pos (point))))
(when-let ((spec (button-get pos 'spec-name)))
(cider-browse-spec--browse spec))))
I am not an elisp expert but I think the syntax of when-let is (when-let
(var value) body) rather than (when-let ((var value)) body)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.