Fedora Account System
Red Hat Associate
Red Hat Customer
When starting `emacs` from `emacs-pgtk-31.1-2.fc45.x86_64` it now shows a `*Warnings*` buffer with ``` ⛔ Warning (files): Missing ‘lexical-binding’ cookie in "/usr/share/emacs/site-lisp/site-start.d/dash-init.el". You can add one with ‘M-x elisp-enable-lexical-binding RET’. See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ for more information. ``` Reproducible: Always
It might make sense to take advantage of Fedora 46's new %_emacs_package_install macro to prevent this warning by eliminating the need for dash-init.el. https://fedoraproject.org/wiki/Changes/Emacs_Package_Packaging