Bug 2535611 - Missing ‘lexical-binding’ cookie in "/usr/share/emacs/site-lisp/site-start.d/dash-init.el"
Summary: Missing ‘lexical-binding’ cookie in "/usr/share/emacs/site-lisp/site-start.d/...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs-dash
Version: 45
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Mohamed El Morabity
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2545603
TreeView+ depends on / blocked
 
Reported: 2026-09-16 18:57 UTC by Stephan Bergmann
Modified: 2026-11-17 12:11 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.