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

Fix wrong type argument on Emacs 28.1 #275

Merged
merged 1 commit into from Jul 29, 2022

Conversation

pesterhazy
Copy link
Contributor

After upgrading from Emacs 27 to 28.1, loading expand-region
breaks with the error message "Wrong type argument: stringp, (require .
package)"

This is due to using eval-after-load with a string argument. This odd
call style was introduced in

#213

However, the assertion that text-mode is missing a provide call hasn't
been true in 6 years:

emacs-mirror/emacs@f70f9a5

After upgrading from Emacs 27 to 28.1, loading expand-region
breaks with the error message "Wrong type argument: stringp, (require .
package)"

This is due to using eval-after-load with a string argument. This odd
call style was introduced in

magnars#213

However, the assertion that text-mode is missing a provide call hasn't
been true in 6 years:

emacs-mirror/emacs@f70f9a5
@pesterhazy
Copy link
Contributor Author

cc: @Wilfred, who authored the PR mentioned

Caveat: I'm not an elisp programmer

@magnars magnars merged commit c5c4362 into magnars:master Jul 29, 2022
@magnars
Copy link
Owner

magnars commented Jul 29, 2022

Thanks!

@pesterhazy
Copy link
Contributor Author

pesterhazy commented Jul 29, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants