Skip to content

Test fixes for emacs 30#352

Merged
Wilfred merged 2 commits intoWilfred:masterfrom
manphiz:test-fixes-for-emacs-30
Feb 27, 2025
Merged

Test fixes for emacs 30#352
Wilfred merged 2 commits intoWilfred:masterfrom
manphiz:test-fixes-for-emacs-30

Conversation

@manphiz
Copy link
Copy Markdown
Contributor

@manphiz manphiz commented Feb 26, 2025

The included 2 patches try to fix some incompatibilities with Emacs 30.

Emacs 30.x added interpreted-function which is different from
byte-code-function, and hence helpful--signature will try to treat it
like a lambda which will fail with

,----
| (wrong-type-argument listp #[(x) (x) (t) nil "Foo"])
`----

This patch adds tests for such case using interpreted-function-p when
it's available.
The output of helpful--keymaps-containing changed since Emacs 30.x.
This patch adapts its test for newer Emacs versions.
@Wilfred Wilfred merged commit 6a4d5e0 into Wilfred:master Feb 27, 2025
4 checks passed
@Wilfred
Copy link
Copy Markdown
Owner

Wilfred commented Feb 27, 2025

Thanks :)

@hpfr hpfr mentioned this pull request Mar 9, 2025
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