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

remove (defvar mu4e-mu-version) #832

Closed
wants to merge 1 commit into from
Closed

Conversation

RyanGibb
Copy link

Without this change evil-collection fails to pick up the mu4e-mu-version set in the mu4e module.

I'm new to emacs lisp but I think we're overriding the mu4e-mu-version variable set in the mu4e module with one set in this module to nil.

Any feedback or advice is welcome if this is the wrong solution.

@condy0919
Copy link
Collaborator

It's not overriding. (defvar mu4e-mu-version) declares the variable.

@RyanGibb
Copy link
Author

Is it not already declared at https://github.com/djcb/mu/blob/aee76e47a86cb31edcf4ba70c0af9547db220e8c/mu4e/mu4e-config.el.in#L3 ?

evil-collection-mu4e.el does not get the version of mu without this change for me.

@RyanGibb
Copy link
Author

It looks like this was introduced in d3b497d to fix the bytecode compilation Compiling /home/runner/work/evil-collection/evil-collection/modes/mu4e/evil-collection-mu4e.el... reference to free variable ‘mu4e-mu-version’, and using defvar seems to be the correct way to solve this. However, with this defvar evil-collection-mu4e.el fails to pick up the versioned defined in mu4e.

@RyanGibb
Copy link
Author

Ah, it looks like that I actually needed was 149eacc. Sorry for the noise.

@RyanGibb RyanGibb closed this Aug 27, 2024
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