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

Emacs 29 build fix #234

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Emacs 29 build fix #234

merged 1 commit into from
Aug 30, 2024

Conversation

Pavllick
Copy link
Contributor

@Pavllick Pavllick commented Aug 3, 2024

Fixes build issues on Emacs 29+, due to the use of a undefined var global-linum-mode
Resolves #226, resolves #229

@jcs090218
Copy link
Collaborator

Hmm... I don't see any error in the previous build https://github.com/emacsorphanage/git-gutter/actions/runs/8997480781. 🤔

@Pavllick
Copy link
Contributor Author

Pavllick commented Aug 4, 2024

I don't know if it's MacOS specific, but it gives me an error, and it actually makes sense that it does, since global-linum-mode is not defined in v29.* And again, there are two occurrences of that var in the project, first one (line 533) is checked correctly and doesn't throw any errors, while the one I added null check was used with assumption it is defined while it's not always is.

Tested with Emacs v29.4

@Pavllick Pavllick closed this Aug 5, 2024
@Pavllick Pavllick reopened this Aug 5, 2024
@arichiardi
Copy link

Make sense to me!

@jcs090218
Copy link
Collaborator

LGTM.

@jcs090218 jcs090218 merged commit 47e4438 into emacsorphanage:master Aug 30, 2024
24 of 26 checks passed
@Pavllick Pavllick deleted the fix-linum-mode branch September 10, 2024 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Please consider making a melpa-stable release Won't build on emacs 29 - linum-mode has been replaced
3 participants