emacs-bind-map
emacs-bind-map copied to clipboard
Fix emacs native compilation warning
trafficstars
Warning (comp): bind-map.el:138:40: Warning: Alias for
‘bind-map-evil-local-bindings’ should be declared before its referent
Apparently you're supposed to define the obsolete alias before the actual variable. I've seen it used this way in the emacs codebase and in other packages.
To reproduce, have emacs build with native compilation and notice the compilation logs. You can then open this file and run M-x emacs-lisp-native-compile-and-load before and after the changes to see the warning is removed.