Bug 2535611

Summary: Missing ‘lexical-binding’ cookie in "/usr/share/emacs/site-lisp/site-start.d/dash-init.el"
Product: [Fedora] Fedora Reporter: Stephan Bergmann <sberg.fun>
Component: emacs-dashAssignee: Mohamed El Morabity <pikachu.2014>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 45CC: eggert, mavit, pikachu.2014
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2545603    

Description Stephan Bergmann 2026-09-16 18:57:24 UTC
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

Comment 1 Peter Oliver 2026-11-17 12:11:02 UTC
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