Updated emacs spews lexical-binding warnings

The latest update of emacs enforces the lexical-binding requirement and spews lots of warnings at startup for every *.el file it loads from /usr/share/emacs that doesn’t have this “cookie” as the top line:
;; -- lexical-binding: nil; --

I don’t know of a simple workaround besides suppressing all warnings which I don’t want and also don’t want to modify share site files.

Hi, I haven’t found a workaround either but have opened a bug report. Hopefully it will be fixed soon.

1 Like