Bug 2567364 - systemtap-init.el missing lexical binding tag
Summary: systemtap-init.el missing lexical binding tag
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: systemtap
Version: 45
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Frank Ch. Eigler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2545603
TreeView+ depends on / blocked
 
Reported: 2026-11-05 17:52 UTC by Paul Eggert
Modified: 2026-11-10 03:04 UTC (History)
6 users (show)

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


Attachments (Terms of Use)

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.


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