-
Notifications
You must be signed in to change notification settings - Fork 3
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 byte-compilation warnings #74
base: main
Are you sure you want to change the base?
Conversation
Huh, the workflow isn't running. Maybe it has to be on the main branch first? It ran successfully when I tested it using |
2e9f52e
to
9af6000
Compare
I noticed a silly typo I made in the last regex in #73 after all of a sudden a bunch of my errors weren't highlighting. I pushed the fix to |
9af6000
to
6ba6e98
Compare
I'm a little unsure how to review this PR. Can you think of anyone else to ask? |
Maybe @DanGrayson? We're the only three folks with a halfway decent number of commits in this repository. Anyways, here's a bit more explanation if that helps. I noticed that when I started up Emacs, I had a bunch of M2-related warnings. You can reproduce them on the command line from the current tip of the
The solutions for each of these issues:
The workflow hopefully will run the above check on pull requests. |
At this point, I'm a little worried that if we merge this now there won't be enough time to discover any potential bugs. Let's merge this after the release? |
What bugs might there be? The changes are all very minor -- basically just moving around some code and removing a call to a function that's been a noop for the last few Emacs releases. |
We were referring to several variables before defvar-ing them.
# Conflicts: # M2-symbols.el.gz
6ba6e98
to
5e2c565
Compare
We move up some
defvar
's, calldeclare-function
on a function from another package, and remove the use of an obsolete variable to fix some warnings that were emitted when byte-compiling.We also add a GitHub workflow to byte-compile pull requests.