Skip to content

elpaca-test: make mapconcat work on Emacs 27.x and 28.x #475

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

Merged
merged 1 commit into from
Jul 19, 2025

Conversation

KeyWeeUsr
Copy link
Contributor

@KeyWeeUsr KeyWeeUsr commented Jul 18, 2025

mapconcat requires SEPARATOR argument which became optional ("") in later versions. Running on older versions crashes elpaca-test.el with:

elpaca-test.el:109:6: Warning: mapconcat called with 2 arguments, but requires 3

Ref: https://github.com/emacs-mirror/emacs/blob/647a935/src/fns.c#L2681
Ref: https://github.com/emacs-mirror/emacs/blob/dec9582/src/fns.c#L2858
Ref: https://github.com/emacs-mirror/emacs/blob/75ca15f/src/fns.c#L3049

`mapconcat` requires `SEPARATOR` argument which became optional (`""`) in later
versions. Running on older versions crashes `elpaca-test.el` with:

```
elpaca-test.el:109:6: Warning: mapconcat called with 2 arguments, but requires 3
```

Ref: github.com/emacs-mirror/emacs/blob/647a935/src/fns.c#L2681
Ref: github.com/emacs-mirror/emacs/blob/dec9582/src/fns.c#L2858
Ref: github.com/emacs-mirror/emacs/blob/75ca15f/src/fns.c#L3049
@progfolio progfolio merged commit f0bbcec into progfolio:master Jul 19, 2025
@progfolio
Copy link
Owner

Thank you

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