Bug 2567364

Summary: systemtap-init.el missing lexical binding tag
Product: [Fedora] Fedora Reporter: Paul Eggert <eggert>
Component: systemtapAssignee: Frank Ch. Eigler <fche>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 45CC: amerey, ethansmith.dev+redhatbugzilla, fche, mcermak, mjw, wcohen
Target Milestone: ---Keywords: Desktop, Regression, Upgrades
Target Release: ---   
Hardware: All   
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 Paul Eggert 2026-11-05 17:52:54 UTC
This problem is new in Fedora 45, which has upgraded to Emacs 31.1, an Emacs version that can be pickier about lexical binding. When I start up Emacs I get the following warning:

Missing ‘lexical-binding’ cookie in "/usr/share/emacs/site-lisp/site-start.d/systemtap-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.

Since the file in question does not bind anything, the fix is simple: insert the following line at the file's start:

;; -*- lexical-binding: t; -*-


Reproducible: Always

Steps to Reproduce:
Run Emacs with systemtap-devel installed.
Actual Results:
Warning pops up as described.

Expected Results:
No warning should pop up.

Comment 1 Ethan Smith 2026-11-10 03:04:21 UTC
I can reproduce this on my system after updating to Fedora 45 as well.