Closed Hi-Angel closed 1 month ago
Think you could figure out why the CI is failing here as well? Happy to merge after that. Thanks!
Well, it fails because latest upstream Emacs expects "lexical-binding" directive to be in every file, that's a new warning.
I'll look at fixing that, but that said I don't think CI was ever passing here, because even that new error aside, it has other byte-compilation errors such as about docstring being too wide or unescaped characters usage in docstring, etc. Even the pi
error I am fixing here has always been present.
Allright, in that case I'm happy to merge. Don't worry about fixing stuff that was already erroring.
@kritzcreek anyway, I went on and fixed all errors in this PR, please review 😊
Turning on lexical-binding fixes a bunch of warnings like:
these warnings are caused by Emacs not being able to determine that
pi
is actually a local variable. By making use of lexical binding we make Emacs to be able to see through that.