Skip to content

Conversation

collares
Copy link
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
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