Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix import-js breaking when json-encoding-pretty-print is set #22

Merged
merged 1 commit into from
Jul 9, 2018

Conversation

romandecker
Copy link

IPC is broken when json-encoding-pretty-print is set, because import-js reads input via readline and there'll be linebreaks in the json when pretty-printing.

Wrap the call to json-encode-alist to always setjson-encoding-pretty-print to nil.

* Wrap the call to `json-encode-alist` to always set
  `json-encoding-pretty-print` to nil
@kevinkehl
Copy link
Collaborator

Yikes I somehow missed this. Thanks for the fix!

@kevinkehl kevinkehl merged commit fb1f167 into Galooshi:master Jul 9, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants