jwiegley / use-package

A use-package declaration for simplifying your .emacs
https://jwiegley.github.io/use-package
GNU General Public License v3.0
4.38k stars 260 forks source link

Native compiler warnings part 2 #998

Closed sdwolfz closed 1 year ago

sdwolfz commented 1 year ago

I did not know bind-key was part of this repository, I thought it might be it's own separate package. Otherwise I would have made this change as part of #997 . The CI pipeline is updated now with newer emacs versions, and the compiler make target adds the extra flags/eval to ensure compilation fails if warnigns are present, to ensure this will not pop up again in the future.

To reproduce, have emacs built with native compilation and notice the compilation logs. You can then open the offending file and run M-x emacs-lisp-native-compile-and-load before and after the changes to see the warning is removed.

 ■  Warning (comp): bind-key.el:150:2: Warning: docstring has wrong
usage of unescaped single quotes (use \= or different quoting)