Skip to content

set json-object-type to alist, as expected by direnv--summarise-changes#72

Merged
wbolster merged 1 commit into
wbolster:masterfrom
collares:json-alist
Oct 11, 2021
Merged

set json-object-type to alist, as expected by direnv--summarise-changes#72
wbolster merged 1 commit into
wbolster:masterfrom
collares:json-alist

Conversation

@collares
Copy link
Copy Markdown
Contributor

@collares collares commented Oct 10, 2021

Using emacs-direnv with lean-mode, I want to run direnv-update-environment before a particular function runs by doing

(advice-add 'lean-setup-rootdir :before #'direnv-update-environment)

but that function is called in a scope where json-object-type is set to 'plist, which breaks direnv--summarise-changes.

@wbolster wbolster merged commit c4bbbce into wbolster:master Oct 11, 2021
@wbolster
Copy link
Copy Markdown
Owner

mutable global state 🙄 what can go wrong…

thanks, merged!

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.

2 participants