Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a typo in cider-info-form #2889

Merged
merged 1 commit into from
Aug 13, 2020
Merged

Fix a typo in cider-info-form #2889

merged 1 commit into from
Aug 13, 2020

Conversation

j-cr
Copy link
Contributor

@j-cr j-cr commented Aug 13, 2020

This also fixes babashka/babashka.nrepl#26

The commit where the bug was introduced: 4fd24b1

cider-info-form now correctly reads as:

(do
  (require 'clojure.java.io)
  (require 'clojure.walk)

  (if-let [var (resolve '%s)]
    (let [info (meta var)]
      (-> info
          (update :ns str)
          (update :name str)
          (update :file (comp str clojure.java.io/resource))
          (cond-> (:macro info) (update :macro str))
          (cond-> (:special-form info) (update :special-form str))
          (assoc :arglists-str (str (:arglists info)))
          (clojure.walk/stringify-keys)))))

@bbatsov bbatsov merged commit 1905635 into clojure-emacs:master Aug 13, 2020
@bbatsov
Copy link
Member

bbatsov commented Aug 13, 2020

Thanks!

@j-cr j-cr deleted the patch-1 branch August 13, 2020 21:18
bbatsov added a commit that referenced this pull request Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cider-doc doesn't work?
2 participants