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

Can I use Eask with different Emacs versions? #143

Closed
Fuco1 opened this issue Mar 5, 2023 · 5 comments
Closed

Can I use Eask with different Emacs versions? #143

Fuco1 opened this issue Mar 5, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@Fuco1
Copy link
Contributor

Fuco1 commented Mar 5, 2023

Eask minimal Emacs version is 26.1 while Elsa needs 26.3. I would still like to test smartparens on 26.1 and 26.2, but now installation fails because Elsa can't install.

Is there some way to install some dependencies only for specific Emacs version? I think this would be also a good candidate to add to the documentation if it's possible.

@jcs090218
Copy link
Member

jcs090218 commented Mar 5, 2023

You can specify Eask.26.1 and Eask.26.2, is this what you want? Or, you could do:

(when (version< emacs-version "26.3")
  (depends-on "package-name"))

I think this will work?

@Fuco1
Copy link
Contributor Author

Fuco1 commented Mar 5, 2023

will it also work inside the development block? Not sure how the DSL is expanded/processed.

@jcs090218
Copy link
Member

jcs090218 commented Mar 5, 2023

It wasn't working because of the nil value. But now it works, after #144! :)

@jcs090218
Copy link
Member

Is there some way to install some dependencies only for specific Emacs version? I think this would be also a good candidate to add to the documentation if it's possible.

Yeah, documentation has always been my biggest problem. I try document things down, but often not very good. 😅 Feel free to open PRs for documentation, etc.

@jcs090218
Copy link
Member

I think this is resolved; therefore, close it. ;)

@jcs090218 jcs090218 added the bug Something isn't working label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants